mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 18:39:48 +01:00
9595f95452
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. |
||
---|---|---|
.. | ||
wlr_xdg_popup.c | ||
wlr_xdg_positioner.c | ||
wlr_xdg_shell.c | ||
wlr_xdg_surface.c | ||
wlr_xdg_toplevel.c |