Codebase list wlroots / 372a52e
input-method: send modifiers in set_keyboard Otherwise the client might have an outdated modifiers state. The same is done in wlr_seat_keyboard [1]. [1]: https://github.com/swaywm/wlroots/blob/8348fc3ef8b992fce097bef81111eda3677957f4/types/seat/wlr_seat_keyboard.c#L163 Simon Ser 3 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
258258 handle_keyboard_destroy;
259259 wl_signal_add(&keyboard->events.destroy,
260260 &keyboard_grab->keyboard_destroy);
261
262 wlr_input_method_keyboard_grab_v2_send_modifiers(keyboard_grab,
263 &keyboard->modifiers);
261264 }
262265
263266 keyboard_grab->keyboard = keyboard;