diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-12-03 10:14:51 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-12-11 14:00:50 +1000 |
commit | 929795d50d788358d6269ce423f72c6cc40e334b (patch) | |
tree | 7cb5251e4f66f48cd5ccac30170fffc05c46bd0a | |
parent | 23394c7fea0f5c33333198c87ecfecc9f6c6a791 (diff) |
dix: fix check for grab type
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | dix/events.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/events.c b/dix/events.c index 4632bb7db..4aaa54c85 100644 --- a/dix/events.c +++ b/dix/events.c @@ -4696,7 +4696,7 @@ DeviceEnterLeaveEvent(DeviceIntPtr mouse, filter = GetEventFilter(mouse, (xEvent *) event); - if (grab && grab->type == XI2) { + if (grab && grab->grabtype == XI2) { Mask mask; mask = xi2mask_isset(grab->xi2mask, mouse, type); |