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

List:       kde-commits
Subject:    branches/KDE/3.5/kdebase/kwin
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2008-02-11 12:17:04
Message-ID: 1202732224.088287.23008.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 773568 by lunakl:

Disable resetting focus from root window as it seems to cause focus
problems with multihead for an unknown reason.
CCBUG: 157219



 M  +2 -1      events.cpp  


--- branches/KDE/3.5/kdebase/kwin/events.cpp #773567:773568
@@ -28,6 +28,7 @@
 
 #include <X11/extensions/shape.h>
 #include <X11/Xatom.h>
+#include <stdlib.h>
 
 extern Time qt_x_time;
 extern Atom qt_window_role;
@@ -429,7 +430,7 @@
                 return FALSE;
             break;
         case FocusIn:
-            if( e->xfocus.window == rootWin()
+            if( e->xfocus.window == rootWin() && QCString( \
                getenv("KDE_MULTIHEAD")).lower() != "true"
                 && ( e->xfocus.detail == NotifyDetailNone || e->xfocus.detail == \
NotifyPointerRoot ))  {
                 updateXTime(); // focusToNull() uses qt_x_time, which is old now \
(FocusIn has no timestamp)


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

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