summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Services/WindowServer/WindowFrame.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Services/WindowServer/WindowFrame.cpp b/Userland/Services/WindowServer/WindowFrame.cpp
index 34a153528c..64267307c5 100644
--- a/Userland/Services/WindowServer/WindowFrame.cpp
+++ b/Userland/Services/WindowServer/WindowFrame.cpp
@@ -307,6 +307,7 @@ void WindowFrame::paint_menubar(Gfx::Painter& painter)
painter.fill_rect(menubar_rect, palette.window());
Gfx::PainterStateSaver saver(painter);
+ painter.add_clip_rect(menubar_rect);
painter.translate(menubar_rect.location());
m_window.menubar()->for_each_menu([&](Menu& menu) {