summaryrefslogtreecommitdiff
path: root/Userland/Services/WindowServer/WindowManager.cpp
diff options
context:
space:
mode:
authorTom <tomut@yahoo.com>2021-07-18 14:38:34 -0600
committerAndreas Kling <kling@serenityos.org>2021-07-18 23:55:13 +0200
commit7ae46ae218ba2a607e1cfe75972ec85f4af517af (patch)
tree0d8cd1fd4e73f7b1d2638e0078214dd226a4cb5b /Userland/Services/WindowServer/WindowManager.cpp
parent8a4971f908f392e473e464525a2fa7804a6c58d3 (diff)
downloadserenity-7ae46ae218ba2a607e1cfe75972ec85f4af517af.zip
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.
Diffstat (limited to 'Userland/Services/WindowServer/WindowManager.cpp')
-rw-r--r--Userland/Services/WindowServer/WindowManager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Services/WindowServer/WindowManager.cpp b/Userland/Services/WindowServer/WindowManager.cpp
index b9145a79d2..9f4fd5245f 100644
--- a/Userland/Services/WindowServer/WindowManager.cpp
+++ b/Userland/Services/WindowServer/WindowManager.cpp
@@ -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);
}