SyntheticMotion: don't dereference sprite.screen when not using Xinerama

This commit is contained in:
Daniel Stone 2006-11-07 11:13:32 +02:00 committed by Daniel Stone
parent f93d10ce9b
commit b55007d8cc

View File

@ -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);