Use the right parts of XEvent with MotionNotify.
svn path=/trunk/kdebase/kwin/; revision=253800
This commit is contained in:
parent
556c95ec32
commit
b1fe242be0
1 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||||
|
|
Loading…
Reference in a new issue