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 /xkb/xkbEvents.c | |
parent | 4dc973f08c54294e06bc831bd2839fd3aa24ecfb (diff) |
Remove double-grab option. We only want one grab per device.
Diffstat (limited to 'xkb/xkbEvents.c')
-rw-r--r-- | xkb/xkbEvents.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xkb/xkbEvents.c b/xkb/xkbEvents.c index 1e5a43b1b..973e1ad1d 100644 --- a/xkb/xkbEvents.c +++ b/xkb/xkbEvents.c @@ -832,9 +832,8 @@ GrabInfoPtr grabinfo; (_XkbIsReleaseEvent(xE[0].u.u.type)) ) { return False; } - /* just coreGrab is fine, pXDev is inputInfo.keyboard (see above) */ - if ((pXDev->coreGrab.grab != NullGrab) - && pXDev->coreGrab.fromPassiveGrab && + if ((pXDev->deviceGrab.grab != NullGrab) + && pXDev->deviceGrab.fromPassiveGrab && ((xE[0].u.u.type==KeyPress)||(xE[0].u.u.type==KeyRelease))) { register unsigned state,flags; |