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
|
@ -2065,6 +2065,7 @@ DeliverEventsToWindow(DeviceIntPtr pDev, WindowPtr pWin, xEvent
|
||||||
GrabRec tempGrab;
|
GrabRec tempGrab;
|
||||||
OtherInputMasks *inputMasks;
|
OtherInputMasks *inputMasks;
|
||||||
|
|
||||||
|
memset(&tempGrab, 0, sizeof(GrabRec));
|
||||||
tempGrab.next = NULL;
|
tempGrab.next = NULL;
|
||||||
tempGrab.device = pDev;
|
tempGrab.device = pDev;
|
||||||
tempGrab.resource = client->clientAsMask;
|
tempGrab.resource = client->clientAsMask;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user