mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-21 20:26:45 +00:00
Remove double-grab option. We only want one grab per device.
This commit is contained in:
parent
4dc973f08c
commit
5c680e9493
9 changed files with 121 additions and 195 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue