input-method-v2: initialize destroy signal

This commit is contained in:
emersion 2018-10-28 12:23:47 +01:00
parent f34b7f8800
commit de8d87f5ae
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -266,6 +266,7 @@ struct wlr_input_method_manager_v2 *wlr_input_method_manager_v2_create(
return NULL;
}
wl_signal_init(&im_manager->events.input_method);
wl_signal_init(&im_manager->events.destroy);
wl_list_init(&im_manager->bound_resources);
wl_list_init(&im_manager->input_methods);