dix: Pick keyboard instead of using virtual keyboard in Grab/UngrabKey.
This commit is contained in:
		
							parent
							
								
									5f9c10e8da
								
							
						
					
					
						commit
						0c607f4b19
					
				|  | @ -4433,7 +4433,7 @@ ProcUngrabKey(ClientPtr client) | ||||||
|     REQUEST(xUngrabKeyReq); |     REQUEST(xUngrabKeyReq); | ||||||
|     WindowPtr pWin; |     WindowPtr pWin; | ||||||
|     GrabRec tempGrab; |     GrabRec tempGrab; | ||||||
|     DeviceIntPtr keybd = inputInfo.keyboard; |     DeviceIntPtr keybd = PickKeyboard(client); | ||||||
|     int rc; |     int rc; | ||||||
| 
 | 
 | ||||||
|     REQUEST_SIZE_MATCH(xUngrabKeyReq); |     REQUEST_SIZE_MATCH(xUngrabKeyReq); | ||||||
|  | @ -4475,7 +4475,7 @@ ProcGrabKey(ClientPtr client) | ||||||
|     WindowPtr pWin; |     WindowPtr pWin; | ||||||
|     REQUEST(xGrabKeyReq); |     REQUEST(xGrabKeyReq); | ||||||
|     GrabPtr grab; |     GrabPtr grab; | ||||||
|     DeviceIntPtr keybd = inputInfo.keyboard; |     DeviceIntPtr keybd = PickKeyboard(client); | ||||||
|     int rc; |     int rc; | ||||||
| 
 | 
 | ||||||
|     REQUEST_SIZE_MATCH(xGrabKeyReq); |     REQUEST_SIZE_MATCH(xGrabKeyReq); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue