On Thu Jun 25 03:58:55 2026 +0000, Etaash Mathamsetty wrote:
Do we need to create popup role for child windows? From my testing it works to just leave them roleless and avoid any configure events that for surfaces that will never be mapped since they dont have a window_surface. (Are there any situations where they could have a window surface?) Client surfaces are attached to their topmost window so we dont need it for client surfaces either. We don't and shouldn't create any surface for child windows. Their `struct window_surface *surface` WindowPosChanged parameter will be NULL and this should trigger the wayland surface destruction if the window was a toplevel and became a children.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/11248#note_144177