lirios / aurora-compositor

Framework to write Wayland compositors with Qt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xdg-shell: popups can't have a null parent

plfiorini opened this issue · comments

WaylandXdgSurface post an error to the client as soon as get_popup is called with a null parent, but this prevents a client from specifying a parent with a different protocol (for example layer-shell).

The XDG_WM_BASE_ERROR_INVALID_POPUP_PARENT error should be posted if the parent is still null by the time the surface is committed, instead.