From 0ef6ba9f3b9e68307bfe623e12dc36d44440e97f Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 27 May 2009 11:15:54 +1000 Subject: 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 --- Xi/xipassivegrab.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Xi/xipassivegrab.c') diff --git a/Xi/xipassivegrab.c b/Xi/xipassivegrab.c index 95acdf03b..f53b0504c 100644 --- a/Xi/xipassivegrab.c +++ b/Xi/xipassivegrab.c @@ -266,6 +266,7 @@ ProcXIPassiveUngrabDevice(ClientPtr client) else mod_dev = dev; + tempGrab.resource = client->clientAsMask; tempGrab.device = dev; tempGrab.window = win; tempGrab.type = -- cgit v1.2.3