1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:37:44 +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:
Tom 2021-07-18 14:38:34 -06:00 committed by Andreas Kling
parent 8a4971f908
commit 7ae46ae218
6 changed files with 114 additions and 83 deletions

View file

@ -94,8 +94,6 @@ void AppletManager::add_applet(Window& applet)
});
relayout();
MenuManager::the().refresh();
}
void AppletManager::relayout()