diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-11-07 11:13:32 +0200 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-11-08 15:29:17 +0200 |
commit | b55007d8cc9d20baa23d5de67683e414c827d3e5 (patch) | |
tree | 2847c3c8627a4f7b5a54b6aacaf28f9371b16292 | |
parent | f93d10ce9bb4a6de83b561f44fb7b046def16234 (diff) |
SyntheticMotion: don't dereference sprite.screen when not using Xinerama
-rw-r--r-- | dix/events.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dix/events.c b/dix/events.c index 68a2d3813..e5701eec2 100644 --- a/dix/events.c +++ b/dix/events.c @@ -330,7 +330,8 @@ static void ConfineToShape(RegionPtr shape, int *px, int *py); static void PostNewCursor(void); #define SyntheticMotion(x, y) \ - PostSyntheticMotion(x, y, sprite.screen->myNum, \ + PostSyntheticMotion(x, y, noPanoramiXExtension ? 0 : \ + sprite.screen->myNum, \ syncEvents.playingEvents ? \ syncEvents.time.milliseconds : \ currentTime.milliseconds); |