> // Use client geometry if set explicitly, use available screen geometry
> otherwise.
> d->geometry = window()->geometry() != screen->geometry() ?
> window()->geometry() : screen->availableGeometry();
>
>
> I would also move that to inside createWindow(), more specifically to here:
>
> } else {
> printf("UbuntuWindow - regular geometry\n");
> geometry = d->geometry;
> geometry.setY(d->panelHeight);
> }
That kind of refactoring is unnecessary for this bug fix, we can leave it for later.
> // Use client geometry if set explicitly, use available screen geometry )->geometry( ) != screen->geometry() ? )->geometry( ) : screen- >availableGeome try(); "UbuntuWindow - regular geometry\n"); setY(d- >panelHeight) ;
> otherwise.
> d->geometry = window(
> window(
>
>
> I would also move that to inside createWindow(), more specifically to here:
>
> } else {
> printf(
> geometry = d->geometry;
> geometry.
> }
That kind of refactoring is unnecessary for this bug fix, we can leave it for later.