mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
WindowServer: Fix menu over-drawing
We only need to re-draw the item being selected and the item being deselected. We also don't care anymore if applets were added or removed as we no longer have a global menu bar.
This commit is contained in:
parent
8a4971f908
commit
7ae46ae218
Notes:
sideshowbarker
2024-07-18 08:46:44 +09:00
Author: https://github.com/tomuta
Commit: 7ae46ae218
Pull-request: https://github.com/SerenityOS/serenity/pull/8868
6 changed files with 114 additions and 83 deletions
|
@ -605,7 +605,6 @@ void WindowManager::notify_rect_changed(Window& window, Gfx::IntRect const& old_
|
|||
if (window.type() == WindowType::Applet)
|
||||
AppletManager::the().relayout();
|
||||
|
||||
MenuManager::the().refresh();
|
||||
reevaluate_hovered_window(&window);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue