mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
project wide: clean up event listeners on shutdown
This ensures all event listeners are removed before the emitting wlroots object is being destroyed. This will be enforced with asserts in wlroots 0.19 but there is no reason to not do it right now either. This change in wlroots 0.19 is implemented via commit 8f56f7ca43257cc05c7c4eb57a0f541e05cf9a79 "Assert (almost all) signals have no attached listeners on destroy"
This commit is contained in:
parent
4750214d42
commit
9e6aaa689a
13 changed files with 77 additions and 10 deletions
|
|
@ -435,6 +435,7 @@ struct constraint {
|
|||
|
||||
void xdg_popup_create(struct view *view, struct wlr_xdg_popup *wlr_popup);
|
||||
void xdg_shell_init(struct server *server);
|
||||
void xdg_shell_finish(struct server *server);
|
||||
|
||||
/*
|
||||
* desktop.c routines deal with a collection of views
|
||||
|
|
@ -539,6 +540,7 @@ void interactive_cancel(struct view *view);
|
|||
enum view_edge edge_from_cursor(struct seat *seat, struct output **dest_output);
|
||||
|
||||
void output_init(struct server *server);
|
||||
void output_finish(struct server *server);
|
||||
void output_manager_init(struct server *server);
|
||||
struct output *output_from_wlr_output(struct server *server,
|
||||
struct wlr_output *wlr_output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue