Xi: set the passive grab's resource mask on ungrabbing.
Not having the resource mask set means we never match an existing grab, hence we never actually ungrab. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
1f61d6647f
commit
0ef6ba9f3b
|
@ -266,6 +266,7 @@ ProcXIPassiveUngrabDevice(ClientPtr client)
|
||||||
else
|
else
|
||||||
mod_dev = dev;
|
mod_dev = dev;
|
||||||
|
|
||||||
|
tempGrab.resource = client->clientAsMask;
|
||||||
tempGrab.device = dev;
|
tempGrab.device = dev;
|
||||||
tempGrab.window = win;
|
tempGrab.window = win;
|
||||||
tempGrab.type =
|
tempGrab.type =
|
||||||
|
|
Loading…
Reference in New Issue