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

List:       kde-commits
Subject:    kdebase/ksplash
From:       George Staikos <staikos () kde ! org>
Date:       2002-02-28 21:16:21
[Download RAW message or body]


kdebase/ksplash ksplash.cpp,1.43,1.44
Author: staikos
Thu Feb 28 22:16:21 CET 2002
In directory office:/tmp/cvs-serv874


Modified Files:
         ksplash.cpp
Log Message:
+    // For Xinerama, let's put the mouse on the first head.  Otherwise it
+    // could appear anywhere!
+    if (QApplication::desktop()->isVirtualDesktop()) {
+        if (!rect.contains(QCursor::pos()))
+            QCursor::setPos(rect.center());
+    }


For those who don't understand, consider the following Xinerama config:

Head#3   Head#2  Head#1  Head#0

The mouse cursor will appear on Head#0 but the menu (if any), kicker, etc will
appear on Head#3.  That's lots of mouse tracking to get to Head#3.



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

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