Re: [PATCH v5 0/1] MR11178: winewayland: Implement xdg-popup for unmanaged windows.
On Sat Jun 20 21:07:25 2026 +0000, Etaash Mathamsetty wrote:
Actually, I completely forgot that subsurfaces don't actually have any contents unless it is a client surface, since all window contents are on the toplevel. In that case we could completely get rid of subsurfaces in theory, but then we would need to figure out how to parent the xdg-popup. (Initially I misread your question as "Can we replace subsurface with popup" and didn't remember that window_surface only exists for toplevels) `A role must be assigned before any other requests are made to the xdg_surface object.`
If we give a roleless surface an xdg-surface object, I wonder if we will run into problems because of this clause. I can give that a try in very basic client I guess -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11178#note_143761
participants (1)
-
Etaash Mathamsetty (@etaash.mathamsetty)