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

List:       kde-commits
Subject:    kdebase/kwin
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2005-01-10 16:53:11
Message-ID: 20050110165311.9F0AB1CEAE () office ! kde ! org
[Download RAW message or body]

CVS commit by lunakl: 

This should fix some of the cannot-move-windows-after-being-logged-in-for-long-time
problems.


  M +3 -0      events.cpp   1.83


--- kdebase/kwin/events.cpp  #1.82:1.83
@@ -1321,4 +1321,7 @@ bool Client::motionNotifyEvent( Window w
             setCursor( newmode );
         mode = newmode;
+        // reset the timestamp for the optimization, otherwise with long passivity
+        // the option in waitingMotionEvent() may be always true
+        next_motion_time = CurrentTime;
         return false;
         }


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

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