Xi: XIGetDevice needs to ignore the MORE_EVENTS flag.
Reported in X.Org Bug 18882, Comment 5. <http://bugs.freedesktop.org/show_bug.cgi?id=18882> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
		
							parent
							
								
									ee1a6c2841
								
							
						
					
					
						commit
						78a62d7713
					
				|  | @ -154,7 +154,7 @@ XIGetDevice(xEvent* xE) | |||
|         int rc; | ||||
|         int id; | ||||
| 
 | ||||
|         id = ((deviceKeyButtonPointer*)xE)->deviceid; | ||||
|         id = ((deviceKeyButtonPointer*)xE)->deviceid & ~MORE_EVENTS; | ||||
| 
 | ||||
|         rc = dixLookupDevice(&pDev, id, serverClient, DixUnknownAccess); | ||||
|         if (rc != Success) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue