summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-10-25 02:22:07 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-10-25 02:22:07 +0300
commit3da918a16c8908fdfaf89f2a1bcaec19e01528a9 (patch)
treee1571d72a2ea7f7603792a6ab233212e04eb1555 /mi
parentaabc087998e680c2fcf0ebc1c5022c1fe8f58f0c (diff)
mipointer: remember to update pointer location
Update pointer location so it doesn't get quickly reset by the next pointer update.
Diffstat (limited to 'mi')
-rw-r--r--mi/mipointer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mi/mipointer.c b/mi/mipointer.c
index 679b7602f..dbe2aaeab 100644
--- a/mi/mipointer.c
+++ b/mi/mipointer.c
@@ -484,4 +484,8 @@ miPointerMoved (DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y,
if(!miPointer.pCursor->bits->emptyMask)
(*pScreenPriv->spriteFuncs->MoveCursor) (pScreen, x, y);
}
+
+ miPointer.x = x;
+ miPointer.y = y;
+ miPointer.pScreen = pScreen;
}