summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorLuo Jie <luojie@nlsde.buaa.edu.cn>2007-05-24 11:01:15 -0700
committerEric Anholt <eric@anholt.net>2007-05-24 11:20:59 -0700
commit1f48995d66c0072caa7e5ce2845be642221dd56d (patch)
tree5da0a5ac6f114901b275448ec36a2b8e1a2fa33b /dix
parent8f98be7db303bc3db650054efb86843c70114451 (diff)
Fix build of composite, dix, and randr when Xinerama is disabled.
Diffstat (limited to 'dix')
-rw-r--r--dix/events.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/dix/events.c b/dix/events.c
index bc6b6ae97..887cbcd68 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -695,6 +695,13 @@ XineramaChangeToCursor(CursorPtr cursor)
}
}
+#else
+#define SyntheticMotion(x, y) \
+ PostSyntheticMotion(x, y, \
+ 0, \
+ syncEvents.playingEvents ? \
+ syncEvents.time.milliseconds : \
+ currentTime.milliseconds);
#endif /* PANORAMIX */