diff options
Diffstat (limited to 'dix/events.c')
-rw-r--r-- | dix/events.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dix/events.c b/dix/events.c index 229e67d36..3fd1dab06 100644 --- a/dix/events.c +++ b/dix/events.c @@ -3393,6 +3393,9 @@ CheckPassiveGrabsOnWindow( #define XI2_MATCH 0x4 int match = 0; + if (device->deviceGrab.grab) + return FALSE; + if (!grab) return FALSE; /* Fill out the grab details, but leave the type for later before |