From b594cf570de3fa974b1abb5d5567b2f8286f4c71 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Tue, 9 Sep 2025 09:06:21 +0800 Subject: [PATCH] fix: chase wlroots input method api --- src/ext-protocol/text-input.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ext-protocol/text-input.h b/src/ext-protocol/text-input.h index e0ad2b3..f522440 100644 --- a/src/ext-protocol/text-input.h +++ b/src/ext-protocol/text-input.h @@ -574,7 +574,7 @@ struct dwl_input_method_relay *dwl_im_relay_create() { &relay->new_text_input); relay->new_input_method.notify = handle_new_input_method; - wl_signal_add(&input_method_manager->events.input_method, + wl_signal_add(&input_method_manager->events.new_input_method, &relay->new_input_method); relay->focused_surface_destroy.notify = handle_focused_surface_destroy;