text-input: fix missing destroy signal init

This commit is contained in:
xdavidwu 2020-01-12 14:49:13 +08:00 committed by Simon Ser
parent ebdbe177d6
commit 3b35043d00

View File

@ -314,6 +314,7 @@ struct wlr_text_input_manager_v3 *wlr_text_input_manager_v3_create(
wl_list_init(&manager->text_inputs); wl_list_init(&manager->text_inputs);
wl_signal_init(&manager->events.text_input); wl_signal_init(&manager->events.text_input);
wl_signal_init(&manager->events.destroy);
manager->global = wl_global_create(display, manager->global = wl_global_create(display,
&zwp_text_input_manager_v3_interface, 1, manager, &zwp_text_input_manager_v3_interface, 1, manager,