SyntheticMotion: don't dereference sprite.screen when not using Xinerama
This commit is contained in:
		
							parent
							
								
									f93d10ce9b
								
							
						
					
					
						commit
						b55007d8cc
					
				|  | @ -330,7 +330,8 @@ static void ConfineToShape(RegionPtr shape, int *px, int *py); | ||||||
| static void PostNewCursor(void); | static void PostNewCursor(void); | ||||||
| 
 | 
 | ||||||
| #define SyntheticMotion(x, y) \ | #define SyntheticMotion(x, y) \ | ||||||
|     PostSyntheticMotion(x, y, sprite.screen->myNum, \ |     PostSyntheticMotion(x, y, noPanoramiXExtension ? 0 : \ | ||||||
|  |                               sprite.screen->myNum, \ | ||||||
|                         syncEvents.playingEvents ? \ |                         syncEvents.playingEvents ? \ | ||||||
|                           syncEvents.time.milliseconds : \ |                           syncEvents.time.milliseconds : \ | ||||||
|                           currentTime.milliseconds); |                           currentTime.milliseconds); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue