mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-04 13:29:51 -05:00
Send keyboard modifier event using the keyboard resource
This commit is contained in:
parent
bcefacb89d
commit
67e16be8aa
1 changed files with 1 additions and 1 deletions
|
|
@ -746,7 +746,7 @@ wl_pointer_set_focus(struct wl_pointer *pointer, struct wl_surface *surface,
|
||||||
kr = find_resource_for_surface(&kbd->resource_list,
|
kr = find_resource_for_surface(&kbd->resource_list,
|
||||||
surface);
|
surface);
|
||||||
if (kr) {
|
if (kr) {
|
||||||
wl_keyboard_send_modifiers(resource,
|
wl_keyboard_send_modifiers(kr,
|
||||||
serial,
|
serial,
|
||||||
kbd->modifiers.mods_depressed,
|
kbd->modifiers.mods_depressed,
|
||||||
kbd->modifiers.mods_latched,
|
kbd->modifiers.mods_latched,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue