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 );
|
||||
return;
|
||||
case MotionNotify:
|
||||
motionNotifyEvent( e->xbutton.window, e->xbutton.state,
|
||||
e->xbutton.x, e->xbutton.y, e->xbutton.x_root, e->xbutton.y_root );
|
||||
motionNotifyEvent( e->xmotion.window, e->xmotion.state,
|
||||
e->xmotion.x, e->xmotion.y, e->xmotion.x_root, e->xmotion.y_root );
|
||||
return;
|
||||
case EnterNotify:
|
||||
enterNotifyEvent( &e->xcrossing );
|
||||
|
|
Loading…
Reference in a new issue