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

Commit

Permalink
input-method: fix destorying keyboard grab on input method destory
Browse files Browse the repository at this point in the history
  • Loading branch information
xdavidwu committed Nov 13, 2019
1 parent e05f633 commit 8b6668d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/wlr_input_method_v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ static void input_method_destroy(struct wlr_input_method_v2 *input_method) {
wl_list_remove(wl_resource_get_link(input_method->resource));
wl_list_remove(&input_method->seat_destroy.link);
if (input_method->im_keyboard_grab != NULL) {
im_keyboard_grab_destroy(input_method->im_keyboard_grab);
wl_resource_destroy(input_method->im_keyboard_grab->resource);
}
free(input_method->pending.commit_text);
free(input_method->pending.preedit.text);
Expand Down

0 comments on commit 8b6668d

Please sign in to comment.