Add missing destroy events on automatically destroyed objects

This commit is contained in:
Kirill Primak 2024-11-22 20:37:39 +03:00 committed by Simon Ser
parent 3e651b4642
commit c0d4d7217b
10 changed files with 21 additions and 1 deletions

View file

@ -20,6 +20,8 @@ struct wlr_drm_lease_v1_manager {
struct wl_display *display;
struct {
struct wl_signal destroy;
/**
* Upon receiving this signal, call
* wlr_drm_lease_device_v1_grant_lease_request() to grant a lease of the

View file

@ -78,6 +78,8 @@ struct wlr_pointer_constraints_v1 {
struct wl_list constraints; // wlr_pointer_constraint_v1.link
struct {
struct wl_signal destroy;
/**
* Called when a new pointer constraint is created.
*

View file

@ -26,6 +26,8 @@ struct wlr_transient_seat_manager_v1 {
struct wl_global *global;
struct {
struct wl_signal destroy;
/**
* Upon receiving this signal, call
* wlr_transient_seat_v1_ready() to pass a newly created seat

View file

@ -15,6 +15,7 @@ struct wlr_xdg_system_bell_v1 {
struct wl_global *global;
struct {
struct wl_signal destroy;
struct wl_signal ring; // struct wlr_xdg_system_bell_v1_ring_event
} events;

View file

@ -51,6 +51,7 @@ struct wlr_xwayland {
struct wlr_seat *seat;
struct {
struct wl_signal destroy;
struct wl_signal ready;
struct wl_signal new_surface; // struct wlr_xwayland_surface
struct wl_signal remove_startup_info; // struct wlr_xwayland_remove_startup_info_event