diff options
Diffstat (limited to 'xorg-server/Xi/grabdevb.c')
-rw-r--r-- | xorg-server/Xi/grabdevb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/Xi/grabdevb.c b/xorg-server/Xi/grabdevb.c index ce0dcc5f9..98f7e117d 100644 --- a/xorg-server/Xi/grabdevb.c +++ b/xorg-server/Xi/grabdevb.c @@ -125,7 +125,7 @@ ProcXGrabDeviceButton(ClientPtr client) if (mdev->key == NULL) return BadMatch; } else { - mdev = inputInfo.keyboard; + mdev = PickKeyboard(client); ret = XaceHook(XACE_DEVICE_ACCESS, client, mdev, DixReadAccess); if (ret != Success) return ret; |