one more place where we weren't obeying settings
svn path=/trunk/kdebase/kwin/; revision=207612
This commit is contained in:
parent
33c578ef0c
commit
67c0282087
1 changed files with 8 additions and 2 deletions
|
@ -4168,8 +4168,14 @@ QRect Workspace::clientArea(const QPoint& p, int desktop)
|
|||
{
|
||||
if( desktop == NETWinInfo::OnAllDesktops )
|
||||
desktop = currentDesktop();
|
||||
|
||||
QRect rect;
|
||||
if (options->xineramaPlacementEnabled) {
|
||||
int screenNum = QApplication::desktop()->screenNumber(p);
|
||||
QRect rect = QApplication::desktop()->screenGeometry(screenNum);
|
||||
rect = QApplication::desktop()->screenGeometry(screenNum);
|
||||
} else {
|
||||
rect = QApplication::desktop()->geometry();
|
||||
}
|
||||
|
||||
if (d->workarea[ desktop ].isNull())
|
||||
return rect;
|
||||
|
|
Loading…
Reference in a new issue