diff options
author | Ilia Bozhinov <ammen99@gmail.com> | 2020-10-27 18:28:39 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-11-08 14:26:03 +0100 |
commit | 9595f95452a1d7420bbb190dc29c3806c29ca41e (patch) | |
tree | e4e39046dc3d9c7c6cec0ff30952142098398fac /include/backend | |
parent | 372a52ecc08aff003b3024e852e848024b699a15 (diff) |
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.
Diffstat (limited to 'include/backend')
0 files changed, 0 insertions, 0 deletions