ie. don't destroy surface->toplevel on xdg_toplevel destroy. Instead do this on xdg_surface destroy. This allows compositors to add toplevel listeners when the surface appears and remove them when the surface is destroyed. |
||
|---|---|---|
| .. | ||
| wlr_xdg_popup.c | ||
| wlr_xdg_positioner.c | ||
| wlr_xdg_shell.c | ||
| wlr_xdg_surface.c | ||
| wlr_xdg_toplevel.c | ||