WindowServer: Adjust MenuApplet position on resize

Applet rects are now recalculated when changed.
This commit is contained in:
thankyouverycool 2020-07-24 16:05:05 -04:00 committed by Andreas Kling
commit 030f4150b8
Notes: sideshowbarker 2024-07-19 04:37:28 +09:00

View file

@ -379,6 +379,9 @@ void WindowManager::notify_rect_changed(Window& window, const Gfx::IntRect& old_
tell_wm_listeners_window_rect_changed(window);
if (window.type() == WindowType::MenuApplet)
AppletManager::the().calculate_applet_rects(MenuManager::the().window());
MenuManager::the().refresh();
}