Add destroy signals to types that are destroyed by wl_display_destroy

This commit is contained in:
Alexander Bakker 2018-08-26 23:23:12 +02:00
parent c6955fa89c
commit 20db29779e
35 changed files with 68 additions and 5 deletions

View file

@ -39,6 +39,10 @@ struct wlr_session {
struct wl_list devices;
struct wl_listener display_destroy;
struct {
struct wl_signal destroy;
} events;
};
/*

View file

@ -17,6 +17,10 @@ struct wlr_gamma_control_manager {
struct wl_listener display_destroy;
struct {
struct wl_signal destroy;
} events;
void *data;
};

View file

@ -10,6 +10,10 @@ struct wlr_gamma_control_manager_v1 {
struct wl_listener display_destroy;
struct {
struct wl_signal destroy;
} events;
void *data;
};

View file

@ -30,6 +30,7 @@ struct wlr_idle {
struct wl_listener display_destroy;
struct {
struct wl_signal activity_notify;
struct wl_signal destroy;
} events;
void *data;

View file

@ -32,6 +32,7 @@ struct wlr_idle_inhibit_manager_v1 {
struct {
struct wl_signal new_inhibitor;
struct wl_signal destroy;
} events;
void *data;

View file

@ -20,6 +20,7 @@ struct wlr_input_inhibit_manager {
struct {
struct wl_signal activate; // struct wlr_input_inhibit_manager *
struct wl_signal deactivate; // struct wlr_input_inhibit_manager *
struct wl_signal destroy;
} events;
void *data;

View file

@ -39,6 +39,7 @@ struct wlr_layer_shell {
// Note: the output may be NULL. In this case, it is your
// responsibility to assign an output before returning.
struct wl_signal new_surface;
struct wl_signal destroy;
} events;
void *data;

View file

@ -17,6 +17,10 @@ struct wlr_primary_selection_device_manager {
struct wl_listener display_destroy;
struct {
struct wl_signal destroy;
} events;
void *data;
};

View file

@ -18,6 +18,10 @@ struct wlr_screencopy_manager_v1 {
struct wl_listener display_destroy;
struct {
struct wl_signal destroy;
} events;
void *data;
};

View file

@ -17,6 +17,10 @@ struct wlr_screenshooter {
struct wl_listener display_destroy;
struct {
struct wl_signal destroy;
} events;
void *data;
};

View file

@ -45,6 +45,7 @@ struct wlr_server_decoration_manager {
struct {
struct wl_signal new_decoration;
struct wl_signal destroy;
} events;
void *data;

View file

@ -29,6 +29,10 @@ struct wlr_tablet_manager_v2 {
struct wl_listener display_destroy;
struct {
struct wl_signal destroy;
} events;
void *data;
};

View file

@ -22,6 +22,7 @@ struct wlr_virtual_keyboard_manager_v1 {
struct {
struct wl_signal new_virtual_keyboard; // struct wlr_virtual_keyboard_v1*
struct wl_signal destroy;
} events;
};

View file

@ -24,6 +24,7 @@ struct wlr_wl_shell {
struct {
struct wl_signal new_surface;
struct wl_signal destroy;
} events;
void *data;

View file

@ -19,6 +19,7 @@ struct wlr_xdg_decoration_manager_v1 {
struct {
struct wl_signal new_toplevel_decoration; // struct wlr_xdg_toplevel_decoration *
struct wl_signal destroy;
} events;
void *data;

View file

@ -34,6 +34,10 @@ struct wlr_xdg_output_manager {
struct wl_listener layout_add;
struct wl_listener layout_change;
struct wl_listener layout_destroy;
struct {
struct wl_signal destroy;
} events;
};
struct wlr_xdg_output_manager *wlr_xdg_output_manager_create(

View file

@ -29,6 +29,7 @@ struct wlr_xdg_shell {
* surface will be ready to be managed on the `map` event.
*/
struct wl_signal new_surface;
struct wl_signal destroy;
} events;
void *data;

View file

@ -30,6 +30,7 @@ struct wlr_xdg_shell_v6 {
* surface will be ready to be managed on the `map` event.
*/
struct wl_signal new_surface;
struct wl_signal destroy;
} events;
void *data;