mi: update macro to search for MASTER_POINTER
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Benjamin Tissoires <tissoire@cena.fr>
This commit is contained in:
		
							parent
							
								
									d270f12a3e
								
							
						
					
					
						commit
						52c13896ce
					
				| 
						 | 
				
			
			@ -76,7 +76,7 @@ typedef struct {
 | 
			
		|||
#define miGetDCDevice(dev, screen) \
 | 
			
		||||
 ((DevHasCursor(dev)) ? \
 | 
			
		||||
  (miDCBufferPtr)dixLookupScreenPrivate(&dev->devPrivates, miDCDeviceKey, screen) : \
 | 
			
		||||
  (miDCBufferPtr)dixLookupScreenPrivate(&dev->u.master->devPrivates, miDCDeviceKey, screen))
 | 
			
		||||
  (miDCBufferPtr)dixLookupScreenPrivate(&GetMaster(dev, MASTER_POINTER)->devPrivates, miDCDeviceKey, screen))
 | 
			
		||||
 | 
			
		||||
/* 
 | 
			
		||||
 * The core pointer buffer will point to the index of the virtual core pointer
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue