fix: chase wlroots input method api

This commit is contained in:
DreamMaoMao 2025-09-09 09:06:21 +08:00
parent cff0c3aa4c
commit b594cf570d

View file

@ -574,7 +574,7 @@ struct dwl_input_method_relay *dwl_im_relay_create() {
&relay->new_text_input); &relay->new_text_input);
relay->new_input_method.notify = handle_new_input_method; 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->new_input_method);
relay->focused_surface_destroy.notify = handle_focused_surface_destroy; relay->focused_surface_destroy.notify = handle_focused_surface_destroy;