[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/kwin
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2008-05-19 21:22:07
Message-ID: 1211232127.107972.470.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 810009 by lunakl:

Replace -1 with active screen in clientArea() if needed.



 M  +2 -0      geometry.cpp  


--- trunk/KDE/kdebase/workspace/kwin/geometry.cpp #810008:810009
@@ -225,6 +225,8 @@
     {
     if( desktop == NETWinInfo::OnAllDesktops || desktop == 0 )
         desktop = currentDesktop();
+    if( screen == -1 )
+        screen = activeScreen();
     QDesktopWidget *desktopwidget = KApplication::desktop();
     QRect sarea = !screenarea.isEmpty() // may be empty during KWin initialization
         ? screenarea[ desktop ][ screen ]
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic