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

problems.

svn path=/trunk/kdebase/kwin/; revision=377222
This commit is contained in:
Luboš Luňák 2005-01-10 16:53:11 +00:00
parent 65c3b55e05
commit 2d41d88fff

View file

@ -1320,6 +1320,9 @@ bool Client::motionNotifyEvent( Window w, int /*state*/, int x, int y, int x_roo
if( newmode != mode )
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;
}
if( w == moveResizeGrabWindow())