diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-04-12 16:19:45 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-04-19 22:28:08 +1000 |
commit | 09f9a86077f0058ce88ee9b3df5d1ab854eeca43 (patch) | |
tree | b5a4f3e2fa69551c53fbedda8ce315af12ac80d7 /Xi/ungrdev.c | |
parent | 7fbe1b7d63c94b344e8ff9d09c0bb162ca104909 (diff) |
input: replace GrabRec's coreGrab field with grabtype.
Don't allow grabs of different types to override each other.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/ungrdev.c')
-rw-r--r-- | Xi/ungrdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/ungrdev.c b/Xi/ungrdev.c index b5b572a8e..a09c3d024 100644 --- a/Xi/ungrdev.c +++ b/Xi/ungrdev.c @@ -104,7 +104,7 @@ ProcXUngrabDevice(ClientPtr client) time = ClientTimeToServerTime(stuff->time); if ((CompareTimeStamps(time, currentTime) != LATER) && (CompareTimeStamps(time, dev->deviceGrab.grabTime) != EARLIER) && - (grab) && SameClient(grab, client) && !grab->coreGrab) + (grab) && SameClient(grab, client) && grab->grabtype == GRABTYPE_XI) (*dev->deviceGrab.DeactivateGrab) (dev); return Success; } |