projects
/
profile
/
ivi
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da1f30a
)
Send key array when losing focus too.
author
Kristian Høgsberg
<krh@redhat.com>
Sat, 7 Mar 2009 02:25:21 +0000
(21:25 -0500)
committer
Kristian Høgsberg
<krh@redhat.com>
Sat, 7 Mar 2009 02:27:04 +0000
(21:27 -0500)
The compositor tracks this anyway, and the client will typically need
this to post key release events and adjust modifier status.
wayland-system-compositor.c
patch
|
blob
|
history
diff --git
a/wayland-system-compositor.c
b/wayland-system-compositor.c
index
5524dbb
..
1a28f76
100644
(file)
--- a/
wayland-system-compositor.c
+++ b/
wayland-system-compositor.c
@@
-871,7
+871,7
@@
wlsc_input_device_set_keyboard_focus(struct wlsc_input_device *device,
(!surface || device->keyboard_focus->base.client != surface->base.client))
wl_surface_post_event(&device->keyboard_focus->base,
&device->base,
- WL_INPUT_KEYBOARD_FOCUS, NULL,
NULL
);
+ WL_INPUT_KEYBOARD_FOCUS, NULL,
&device->keys
);
if (surface)
wl_surface_post_event(&surface->base,