mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Add missing destroy events on automatically destroyed objects
This commit is contained in:
parent
3e651b4642
commit
c0d4d7217b
10 changed files with 21 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue