diff options
Diffstat (limited to 'xorg-server/hw/xwin/winmouse.c')
-rw-r--r-- | xorg-server/hw/xwin/winmouse.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xorg-server/hw/xwin/winmouse.c b/xorg-server/hw/xwin/winmouse.c index 51ca3c5c6..835c69d50 100644 --- a/xorg-server/hw/xwin/winmouse.c +++ b/xorg-server/hw/xwin/winmouse.c @@ -370,14 +370,13 @@ void winEnqueueMotion(int x, int y) { int i, nevents; int valuators[2]; - EventListPtr events; miPointerSetPosition(g_pwinPointer, &x, &y); - GetEventList(&events); - valuators[0] = x; valuators[1] = y; + + GetEventList(&events); nevents = GetPointerEvents(events, g_pwinPointer, MotionNotify, 0, POINTER_ABSOLUTE, 0, 2, valuators); |