One more bug in clientArea().
svn path=/trunk/kdebase/kwin/; revision=289117
This commit is contained in:
parent
bf814c45e0
commit
e7cc4aa974
1 changed files with 6 additions and 2 deletions
|
@ -217,11 +217,15 @@ QRect Workspace::clientArea( clientAreaOption opt, const QPoint& p, int desktop
|
|||
switch (opt)
|
||||
{
|
||||
case MaximizeArea:
|
||||
case MaximizeFullArea:
|
||||
if (options->xineramaMaximizeEnabled)
|
||||
return sarea;
|
||||
else
|
||||
return warea;
|
||||
case MaximizeFullArea:
|
||||
if (options->xineramaMaximizeEnabled)
|
||||
return desktopwidget->screenGeometry( desktopwidget->screenNumber( p ));
|
||||
else
|
||||
return desktopwidget->geometry();
|
||||
case PlacementArea:
|
||||
if (options->xineramaPlacementEnabled)
|
||||
return sarea;
|
||||
|
@ -235,7 +239,7 @@ QRect Workspace::clientArea( clientAreaOption opt, const QPoint& p, int desktop
|
|||
case WorkArea:
|
||||
return warea;
|
||||
case FullArea:
|
||||
return QApplication::desktop()->geometry();
|
||||
return desktopwidget->geometry();
|
||||
case ScreenArea:
|
||||
return sarea;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue