Skip to content

xdg-shell: relax not_constructed checks

Simon Ser requested to merge emersion/wlroots:xdg-shell-relax into master

Inert popups might have wlr_xdg_surface.role = NONE. Instead, check wlr_surface.role, which should be NULL if an xdg_toplevel or xdg_popup is not yet constructed and should be non-NULL if a popup is inert.

Closes: #3567 (closed)

Merge request reports