diff options
Diffstat (limited to 'xorg-server/Xi/ungrdevk.c')
-rw-r--r-- | xorg-server/Xi/ungrdevk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/Xi/ungrdevk.c b/xorg-server/Xi/ungrdevk.c index 521765ea3..bc3ada987 100644 --- a/xorg-server/Xi/ungrdevk.c +++ b/xorg-server/Xi/ungrdevk.c @@ -120,7 +120,7 @@ ProcXUngrabDeviceKey(ClientPtr client) if (mdev->key == NULL) return BadMatch; } else - mdev = inputInfo.keyboard; + mdev = PickKeyboard(client); rc = dixLookupWindow(&pWin, stuff->grabWindow, client, DixSetAttrAccess); if (rc != Success) |