1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:08:12 +00:00

WindowServer: Fix MenuManager item postitions after screen resolution change.

This commit is contained in:
Hüseyin ASLITÜRK 2019-12-15 20:07:48 +03:00 committed by Andreas Kling
parent 22b190e4be
commit 26c5d26045
2 changed files with 36 additions and 21 deletions

View file

@ -392,6 +392,8 @@ void WSWindowManager::notify_rect_changed(WSWindow& window, const Rect& old_rect
if (m_switcher.is_visible() && window.type() != WSWindowType::WindowSwitcher)
m_switcher.refresh();
tell_wm_listeners_window_rect_changed(window);
m_menu_manager.refresh();
}
void WSWindowManager::notify_minimization_state_changed(WSWindow& window)