diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-05-14 12:34:53 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-05-14 12:34:53 +0930 |
commit | 5c680e94938c16e04a4349715cf11796b80400db (patch) | |
tree | 256c57eea6c0fc52a09c6d07079a5df772b19c76 /Xi/ungrdev.c | |
parent | 4dc973f08c54294e06bc831bd2839fd3aa24ecfb (diff) |
Remove double-grab option. We only want one grab per device.
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 b2b71694d..e056ce688 100644 --- a/Xi/ungrdev.c +++ b/Xi/ungrdev.c @@ -111,7 +111,7 @@ ProcXUngrabDevice(ClientPtr client) time = ClientTimeToServerTime(stuff->time); if ((CompareTimeStamps(time, currentTime) != LATER) && (CompareTimeStamps(time, dev->deviceGrab.grabTime) != EARLIER) && - (grab) && SameClient(grab, client)) + (grab) && SameClient(grab, client) && !grab->coreGrab) (*dev->deviceGrab.DeactivateGrab) (dev); return Success; } |