mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 19:30:10 +00:00
wayland: Clear modifier mask before restoring from keyboard_focus value
This commit is contained in:
parent
c36dfccc64
commit
de82b82dd8
@ -495,6 +495,7 @@ update_modifiers(GdkWaylandDevice *device, struct wl_array *keys)
|
||||
xkb = _gdk_wayland_keymap_get_xkb_desc (keymap);
|
||||
|
||||
end = keys->data + keys->size;
|
||||
device->modifiers = 0;
|
||||
for (k = keys->data; k < end; k++)
|
||||
device->modifiers |= xkb->map->modmap[*k];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user