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

Commit

Permalink
im: remove unwanted resource destroying
Browse files Browse the repository at this point in the history
  • Loading branch information
xdavidwu committed May 12, 2020
1 parent 0ff986d commit 1e7641e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions types/wlr_input_method_v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ static void input_method_resource_destroy(struct wl_resource *resource) {
if (!input_method) {
return;
}
if (input_method->keyboard_grab != NULL) {
wl_resource_destroy(input_method->keyboard_grab->resource);
}
input_method_destroy(input_method);
}

Expand Down

0 comments on commit 1e7641e

Please sign in to comment.