diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-27 11:15:54 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-27 13:54:19 +1000 |
commit | 0ef6ba9f3b9e68307bfe623e12dc36d44440e97f (patch) | |
tree | 777b220775a42cc6f59776e5d3de17d070ccce4e /Xi | |
parent | 1f61d6647f25add487c5cae9739643a6e33ef9f7 (diff) |
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>
Diffstat (limited to 'Xi')
-rw-r--r-- | Xi/xipassivegrab.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 = |