Use the right parts of XEvent with MotionNotify.

svn path=/trunk/kdebase/kwin/; revision=253800
This commit is contained in:
Luboš Luňák 2003-09-25 09:28:56 +00:00
parent 556c95ec32
commit b1fe242be0

View file

@ -473,8 +473,8 @@ void Client::windowEvent( XEvent* e )
e->xbutton.x, e->xbutton.y, e->xbutton.x_root, e->xbutton.y_root ); e->xbutton.x, e->xbutton.y, e->xbutton.x_root, e->xbutton.y_root );
return; return;
case MotionNotify: case MotionNotify:
motionNotifyEvent( e->xbutton.window, e->xbutton.state, motionNotifyEvent( e->xmotion.window, e->xmotion.state,
e->xbutton.x, e->xbutton.y, e->xbutton.x_root, e->xbutton.y_root ); e->xmotion.x, e->xmotion.y, e->xmotion.x_root, e->xmotion.y_root );
return; return;
case EnterNotify: case EnterNotify:
enterNotifyEvent( &e->xcrossing ); enterNotifyEvent( &e->xcrossing );