aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/wlr_input_method_v2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/types/wlr_input_method_v2.c b/types/wlr_input_method_v2.c
index cb248288..29b0d028 100644
--- a/types/wlr_input_method_v2.c
+++ b/types/wlr_input_method_v2.c
@@ -259,6 +259,9 @@ void wlr_input_method_keyboard_grab_v2_set_keyboard(
handle_keyboard_destroy;
wl_signal_add(&keyboard->events.destroy,
&keyboard_grab->keyboard_destroy);
+
+ wlr_input_method_keyboard_grab_v2_send_modifiers(keyboard_grab,
+ &keyboard->modifiers);
}
keyboard_grab->keyboard = keyboard;