mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-25 08:32:30 +00:00
wlr_pointer_gestures_v1: init destroy signal
This commit is contained in:
parent
53be443f39
commit
dead0ebcc8
@ -420,6 +420,8 @@ struct wlr_pointer_gestures_v1 *wlr_pointer_gestures_v1_create(
|
||||
return NULL;
|
||||
}
|
||||
|
||||
wl_signal_init(&gestures->events.destroy);
|
||||
|
||||
gestures->display_destroy.notify = handle_display_destroy;
|
||||
wl_display_add_destroy_listener(display, &gestures->display_destroy);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user