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:
Pierre Le Marre 2024-01-30 09:19:34 +01:00 committed by Daniel Stone
parent f880732004
commit 8aa14f0d39

View File

@ -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 = {