aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winmouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/xwin/winmouse.c')
-rw-r--r--xorg-server/hw/xwin/winmouse.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/xorg-server/hw/xwin/winmouse.c b/xorg-server/hw/xwin/winmouse.c
index 9debead0d..e7cb1ccb7 100644
--- a/xorg-server/hw/xwin/winmouse.c
+++ b/xorg-server/hw/xwin/winmouse.c
@@ -348,17 +348,12 @@ winMouseButtonsHandle (ScreenPtr pScreen,
/**
* Enqueue a motion event.
*
- * XXX: miPointerMove does exactly this, but is static :-( (and uses a static buffer)
- *
*/
void winEnqueueMotion(int x, int y)
{
int valuators[2];
ValuatorMask mask;
- double dbl_x=(double)x;
- double dbl_y=(double)y;
- miPointerSetPosition(g_pwinPointer, Absolute, &dbl_x, &dbl_y);
valuators[0] = x;
valuators[1] = y;