projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeb2e50
)
compositor: End keyboard grab when compositor loses keyboard focus
author
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 10 Apr 2012 04:33:40 +0000
(
00:33
-0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 10 Apr 2012 04:35:15 +0000
(
00:35
-0400)
src/compositor.c
patch
|
blob
|
history
diff --git
a/src/compositor.c
b/src/compositor.c
index
1bdca11
..
96296cc
100644
(file)
--- a/
src/compositor.c
+++ b/
src/compositor.c
@@
-1717,6
+1717,10
@@
notify_keyboard_focus(struct wl_input_device *device,
wl_input_device_set_keyboard_focus(&wd->input_device,
NULL, time);
+ /* FIXME: We really need keyboard grab cancel here to
+ * let the grab shut down properly. As it is we leak
+ * the grab data. */
+ wl_input_device_end_keyboard_grab(&wd->input_device, time);
}
}