mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
Handle destroyed subsurfaces
Damage subsurfaces when they are destroyed. Since subsurfaces don't have an unmap event we need to do that on destroy. We also don't want to keep a sway_view_child when the wlr_subsurface has been destroyed. Fixes https://github.com/swaywm/sway/issues/3197
This commit is contained in:
parent
dbf8e1cead
commit
fc79b7c2d2
2 changed files with 41 additions and 4 deletions
|
|
@ -203,6 +203,12 @@ struct sway_view_child {
|
|||
struct wl_listener surface_destroy;
|
||||
};
|
||||
|
||||
struct sway_subsurface {
|
||||
struct sway_view_child child;
|
||||
|
||||
struct wl_listener destroy;
|
||||
};
|
||||
|
||||
struct sway_xdg_popup_v6 {
|
||||
struct sway_view_child child;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue