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:
parent
22b190e4be
commit
26c5d26045
2 changed files with 36 additions and 21 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue