From b1fe242be09fc0c1cf0045978a040768d0000018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 25 Sep 2003 09:28:56 +0000 Subject: [PATCH] Use the right parts of XEvent with MotionNotify. svn path=/trunk/kdebase/kwin/; revision=253800 --- events.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/events.cpp b/events.cpp index 6e2851fafd..78cf40ae0d 100644 --- a/events.cpp +++ b/events.cpp @@ -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 );