fix(menu): request redraw when menu bar opens

When using a menu bar without Wayland popup support, the menu items are
unclickable, as redrawing is never requested.

So, request a redraw after opening so the overlay menu is created and
drawn immediately.
This commit is contained in:
Eric Le Bihan 2026-08-24 14:20:45 +02:00 • committed by Michael Murphy
parent 2a73fbc0ed
commit 3b62210d27

View file

@ -648,6 +648,7 @@ where
return;
}
shell.capture_event();
shell.request_redraw();
#[cfg(wayland_platform)]
if matches!(WINDOWING_SYSTEM.get(), Some(WindowingSystem::Wayland)) {
self.create_popup(layout, view_cursor, renderer, shell, viewport, my_state);