mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-11 09:30:29 +01:00
dix: don't use the pointer as modifier device in UngrabKey.
Modifier device is always the keyboard. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
parent
3a077f246e
commit
8c5a4d6fbe
1 changed files with 1 additions and 1 deletions
|
|
@ -5356,7 +5356,7 @@ ProcUngrabKey(ClientPtr client)
|
|||
tempGrab.window = pWin;
|
||||
tempGrab.modifiersDetail.exact = stuff->modifiers;
|
||||
tempGrab.modifiersDetail.pMask = NULL;
|
||||
tempGrab.modifierDevice = GetPairedDevice(keybd);
|
||||
tempGrab.modifierDevice = keybd;
|
||||
tempGrab.type = KeyPress;
|
||||
tempGrab.grabtype = GRABTYPE_CORE;
|
||||
tempGrab.detail.exact = stuff->key;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue