Skip to content

xdg-shell: reset added flag on unmap

Simon Ser requested to merge emersion/wlroots:xdg-toplevel-remap into master

When a client attaches a NULL buffer to its wl_surface, it's unmapped. This resets the xdg_surface in its initial state. An extra NULL commit makes the compositor send an initial configure event.

Note, wlr_xdg_toplevel.added is separate from wlr_xdg_surface.added.

Closes: https://github.com/swaywm/sway/issues/7397

Merge request reports