mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-06 06:58:03 +02:00
dix: fix broken XI event delivery during grabs.
If an implicit passive grab is active, the XI event mask is in grab->deviceMask. Otherwise, for explicit grabs, the XI event mask is in grab->eventMask. Reported-by: Thomas Jaeger Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
29ec146251
commit
75c73ddbfc
1 changed files with 3 additions and 0 deletions
|
|
@ -3863,6 +3863,9 @@ DeliverGrabbedEvent(InternalEvent *event, DeviceIntPtr thisDev,
|
|||
if (grabinfo->fromPassiveGrab &&
|
||||
grabinfo->implicitGrab)
|
||||
mask = grab->deviceMask;
|
||||
else
|
||||
mask = grab->eventMask;
|
||||
|
||||
FixUpEventFromWindow(thisDev, xi, grab->window,
|
||||
None, TRUE);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue