]> git.mdlowis.com Git - proto/labwc.git/commitdiff
ime: cleanup new_popup_surface listener when destroy
authoryuiiio <atbjyk@protonmail.com>
Sat, 18 Jan 2025 21:33:43 +0000 (06:33 +0900)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Sat, 18 Jan 2025 23:00:45 +0000 (08:00 +0900)
src/input/ime.c

index dfaf0db40089639e60bf6aa18ca2dbe51aafa507..322bb18381bea646a8df7ef019ff57ef1b23edb0 100644 (file)
@@ -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;