git.lucas.co / cce-ui
GPU-accelerated UI toolkit (Vulkan)
git clone https://git.lucas.co/cce-ui.git

commit3c229db6cb284b93b76c8145a07129d4e65393fe
parentce39faf6d5
authorLucas Galante <[email protected]>
date2026-06-29 21:03
Register popovers in thread-local ACTIVE_POPOVERS to allow Wayland popup subsurface creation

 src/layout.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/layout.rs b/src/layout.rs
index 7d0d7af..a20cac4 100644
--- a/src/layout.rs
+++ b/src/layout.rs
@@ -2836,6 +2836,7 @@ pub fn render_widget<T: Element + 'static>(pc: &mut dyn RenderTarget, w: &mut T,
     }
     if w.popover_rect().is_some() {
         ctx.register_popover(w);
+        crate::widget::popovers::register(w);
     }
 }