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);
|
||||
WindowPtr pWin;
|
||||
GrabRec tempGrab;
|
||||
DeviceIntPtr keybd = inputInfo.keyboard;
|
||||
DeviceIntPtr keybd = PickKeyboard(client);
|
||||
int rc;
|
||||
|
||||
REQUEST_SIZE_MATCH(xUngrabKeyReq);
|
||||
|
@ -4475,7 +4475,7 @@ ProcGrabKey(ClientPtr client)
|
|||
WindowPtr pWin;
|
||||
REQUEST(xGrabKeyReq);
|
||||
GrabPtr grab;
|
||||
DeviceIntPtr keybd = inputInfo.keyboard;
|
||||
DeviceIntPtr keybd = PickKeyboard(client);
|
||||
int rc;
|
||||
|
||||
REQUEST_SIZE_MATCH(xGrabKeyReq);
|
||||
|
|
Loading…
Reference in New Issue