From: yuiiio Date: Sat, 18 Jan 2025 21:33:43 +0000 (+0900) Subject: ime: cleanup new_popup_surface listener when destroy X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=baab35c46970c418c617ae53f245d09cd2743bd0;p=proto%2Flabwc.git ime: cleanup new_popup_surface listener when destroy --- diff --git a/src/input/ime.c b/src/input/ime.c index dfaf0db4..322bb183 100644 --- a/src/input/ime.c +++ b/src/input/ime.c @@ -375,6 +375,7 @@ handle_input_method_destroy(struct wl_listener *listener, void *data) assert(relay->input_method == data); wl_list_remove(&relay->input_method_commit.link); wl_list_remove(&relay->input_method_grab_keyboard.link); + wl_list_remove(&relay->input_method_new_popup_surface.link); wl_list_remove(&relay->input_method_destroy.link); relay->input_method = NULL;