mirror of
https://github.com/swaywm/sway.git
synced 2025-11-14 06:59:47 -05:00
Destroy sub-surfaces with parent layer-shell surface
Closes: https://github.com/swaywm/sway/issues/6337
(cherry picked from commit e2b4c573d6)
This commit is contained in:
parent
3ab1c7f153
commit
297a0c9d35
2 changed files with 23 additions and 5 deletions
|
|
@ -25,6 +25,8 @@ struct sway_layer_surface {
|
|||
bool mapped;
|
||||
struct wlr_box extent;
|
||||
enum zwlr_layer_shell_v1_layer layer;
|
||||
|
||||
struct wl_list subsurfaces;
|
||||
};
|
||||
|
||||
struct sway_layer_popup {
|
||||
|
|
@ -44,6 +46,7 @@ struct sway_layer_popup {
|
|||
struct sway_layer_subsurface {
|
||||
struct wlr_subsurface *wlr_subsurface;
|
||||
struct sway_layer_surface *layer_surface;
|
||||
struct wl_list link;
|
||||
|
||||
struct wl_listener map;
|
||||
struct wl_listener unmap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue