xdg-shell: popups can't have a null parent
plfiorini opened this issue · comments
Pier Luigi Fiorini commented
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.