mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
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.
This commit is contained in:
parent
da1f30a8f0
commit
786ca0d572
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue