mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-24 06:59:45 -05:00
Destroy layer surfaces on client destroyed
This commit is contained in:
parent
b887af9a60
commit
4137d9fc80
2 changed files with 11 additions and 0 deletions
|
|
@ -22,6 +22,7 @@
|
|||
struct wlr_layer_shell {
|
||||
struct wl_global *wl_global;
|
||||
struct wl_list client_resources; // wl_resource
|
||||
struct wl_list surfaces; // wl_layer_surface
|
||||
|
||||
struct wl_listener display_destroy;
|
||||
|
||||
|
|
@ -50,6 +51,7 @@ struct wlr_layer_surface_configure {
|
|||
};
|
||||
|
||||
struct wlr_layer_surface {
|
||||
struct wl_list link; // wlr_layer_shell::surfaces
|
||||
struct wlr_surface *surface;
|
||||
struct wlr_output *output;
|
||||
struct wl_resource *resource;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue