Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Commit

Permalink
input-method: keyboard grab: fix set_keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
xdavidwu committed Jan 21, 2020
1 parent 5d7c756 commit 618b599
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/wlr_input_method_v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ void wlr_input_method_keyboard_grab_v2_set_keyboard(
}
im_keyboard_grab_send_repeat_info(im_keyboard_grab, keyboard);

im_keyboard_grab->keyboard = keyboard;
im_keyboard_grab->keymap_listener.notify = handle_keyboard_keymap;
wl_signal_add(&keyboard->events.keymap,
&im_keyboard_grab->keymap_listener);
Expand Down

0 comments on commit 618b599

Please sign in to comment.