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
1 changed files with 1 additions and 0 deletions

View File

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