On 17/12/2015 11:52, Daniel d'Andrada wrote:
> Why did you remove that chunk from UbuntuSurface constructor in src/ubuntumirclient/window.cpp? In any case that removal is unrelated to DPR work.
>
> """
> auto geom = mWindow->geometry();
> geom.setWidth(parameters.width);
> geom.setHeight(parameters.height);
> if (mWindowState == Qt::WindowFullScreen) {
> geom.setY(0);
> } else {
> geom.setY(panelHeight());
> }
> """
And so is the panel hack refactoring you're doing.
On 17/12/2015 11:52, Daniel d'Andrada wrote: ient/window. cpp? In any case that removal is unrelated to DPR work. >geometry( ); parameters. width); parameters. height) ; creen) { panelHeight( ));
> Why did you remove that chunk from UbuntuSurface constructor in src/ubuntumircl
>
> """
> auto geom = mWindow-
> geom.setWidth(
> geom.setHeight(
> if (mWindowState == Qt::WindowFullS
> geom.setY(0);
> } else {
> geom.setY(
> }
> """
And so is the panel hack refactoring you're doing.