mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 02:58:06 +02:00
dix: ensure implicit passive grabs have the xi2mask zeroed.
This fixes XI2 enter/leave events being sent to non-xi2 clients. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
cc71dfb4f5
commit
bee02a1541
1 changed files with 1 additions and 0 deletions
|
|
@ -2065,6 +2065,7 @@ DeliverEventsToWindow(DeviceIntPtr pDev, WindowPtr pWin, xEvent
|
|||
GrabRec tempGrab;
|
||||
OtherInputMasks *inputMasks;
|
||||
|
||||
memset(&tempGrab, 0, sizeof(GrabRec));
|
||||
tempGrab.next = NULL;
|
||||
tempGrab.device = pDev;
|
||||
tempGrab.resource = client->clientAsMask;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue