mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-19 00:40:40 +01:00
dix: don't prepend an activated passive grab to the listeners
If the device is currently grabbed as the result of a passive grab
activating, do not prepend that grab to the listeners (unlike active grabs).
Otherwise, a client with a passive pointer grab will prevent touch grabs
from activating higher up in the window stack.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 363b6387da)
This commit is contained in:
parent
87e027726f
commit
636647bc7f
1 changed files with 1 additions and 1 deletions
|
|
@ -874,7 +874,7 @@ TouchSetupListeners(DeviceIntPtr dev, TouchPointInfoPtr ti, InternalEvent *ev)
|
|||
SpritePtr sprite = &ti->sprite;
|
||||
WindowPtr win;
|
||||
|
||||
if (dev->deviceGrab.grab)
|
||||
if (dev->deviceGrab.grab && !dev->deviceGrab.fromPassiveGrab)
|
||||
TouchAddActiveGrabListener(dev, ti, ev, dev->deviceGrab.grab);
|
||||
|
||||
/* We set up an active touch listener for existing touches, but not any
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue