mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-22 01:20:26 +00:00
SyntheticMotion: don't dereference sprite.screen when not using Xinerama
(cherry picked from aa052e43c6c293e14f78837e00c6b7581f9713bb commit)
This commit is contained in:
parent
d17ec01e83
commit
f2903c12bb
2 changed files with 2 additions and 4 deletions
|
|
@ -328,7 +328,8 @@ static void ConfineToShape(RegionPtr shape, int *px, int *py);
|
|||
static void PostNewCursor(void);
|
||||
|
||||
#define SyntheticMotion(x, y) \
|
||||
PostSyntheticMotion(x, y, sprite.screen, \
|
||||
PostSyntheticMotion(x, y, noPanoramiXExtension ? 0 : \
|
||||
sprite.screen->myNum, \
|
||||
syncEvents.playingEvents ? \
|
||||
syncEvents.time.milliseconds : \
|
||||
currentTime.milliseconds);
|
||||
|
|
|
|||
Loading…
Reference in a new issue