From 1e7641e8986b5d9843703ebec5ee2a0a77008e12 Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Tue, 12 May 2020 20:19:47 +0800 Subject: [PATCH] im: remove unwanted resource destroying --- types/wlr_input_method_v2.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/types/wlr_input_method_v2.c b/types/wlr_input_method_v2.c index 82f60ef60b..f3d304184f 100644 --- a/types/wlr_input_method_v2.c +++ b/types/wlr_input_method_v2.c @@ -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); }