wlroots-hyprland/types/xdg_shell
Ilia Bozhinov 9595f95452 xdg_shell: handle inert popups
xdg_popups can be destroyed by the compositor when closed. When this happens,
wlroots makes the xdg_popup surface inert and resets the xdg_surface role to
NONE.

Currently, wlroots sends a protocol error and asserts that an xdg_surface has
a role when committed. This is racy if at the same time the client commits an
xdg_popup and the compositor closes it. This patch removes the assertion and
ignores commits on xdg_surfaces without a role set.
2020-11-08 14:26:03 +01:00
..
wlr_xdg_popup.c xdg-shell: check for existing role before setting xdg_popup_surface_role 2020-07-04 12:11:19 +02:00
wlr_xdg_positioner.c Fix -Wreturn-type warnings 2020-05-19 14:54:02 +02:00
wlr_xdg_shell.c Simplify globals implementation by removing destructors 2019-11-25 09:01:46 -05:00
wlr_xdg_surface.c xdg_shell: handle inert popups 2020-11-08 14:26:03 +01:00
wlr_xdg_toplevel.c xdg-shell: split last-acked and current state 2020-08-27 12:36:29 +02:00