mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-03 03:02:41 +00:00
simple-im: Fix modifiers
There is a typo in the call to `zwp_input_method_context_v1_modifiers`: the `mods_latched` and `mods_locked` arguments have wrong values. Fixed by forwarding the correct masks. Signed-off-by: Pierre Le Marre <dev@wismill.eu>
This commit is contained in:
parent
f880732004
commit
8aa14f0d39
|
@ -276,8 +276,8 @@ input_method_keyboard_modifiers(void *data,
|
|||
keyboard->modifiers |= MOD_SHIFT_MASK;
|
||||
|
||||
zwp_input_method_context_v1_modifiers(context, serial,
|
||||
mods_depressed, mods_depressed,
|
||||
mods_latched, group);
|
||||
mods_depressed, mods_latched,
|
||||
mods_locked, group);
|
||||
}
|
||||
|
||||
static const struct wl_keyboard_listener input_method_keyboard_listener = {
|
||||
|
|
Loading…
Reference in a new issue