diff options
author | Kristian Høgsberg <krh@redhat.com> | 2009-03-06 21:25:21 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2009-03-06 21:27:04 -0500 |
commit | 786ca0d572bc38e32f5b79cf4971752babd0b245 (patch) | |
tree | 06a8c1824a82a55b366c1ef6ac8d8f3e8f3a6198 | |
parent | da1f30a8f0dc9ffa98aa83f8ab489834c4844568 (diff) | |
download | wayland-786ca0d572bc38e32f5b79cf4971752babd0b245.tar.gz wayland-786ca0d572bc38e32f5b79cf4971752babd0b245.tar.xz wayland-786ca0d572bc38e32f5b79cf4971752babd0b245.zip |
Send key array when losing focus too.
The compositor tracks this anyway, and the client will typically need
this to post key release events and adjust modifier status.
-rw-r--r-- | wayland-system-compositor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wayland-system-compositor.c b/wayland-system-compositor.c index 5524dbb..1a28f76 100644 --- 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, |