summaryrefslogtreecommitdiff
path: root/dix/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'dix/events.c')
-rw-r--r--dix/events.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dix/events.c b/dix/events.c
index e5701eec2..c8da7d62c 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -330,8 +330,7 @@ static void ConfineToShape(RegionPtr shape, int *px, int *py);
static void PostNewCursor(void);
#define SyntheticMotion(x, y) \
- PostSyntheticMotion(x, y, noPanoramiXExtension ? 0 : \
- sprite.screen->myNum, \
+ PostSyntheticMotion(x, y, sprite.screen, \
syncEvents.playingEvents ? \
syncEvents.time.milliseconds : \
currentTime.milliseconds);