summaryrefslogtreecommitdiff
path: root/Servers/WindowServer/WSWindowSwitcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Servers/WindowServer/WSWindowSwitcher.cpp')
-rw-r--r--Servers/WindowServer/WSWindowSwitcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Servers/WindowServer/WSWindowSwitcher.cpp b/Servers/WindowServer/WSWindowSwitcher.cpp
index 2c6622a90d..6436bea5a5 100644
--- a/Servers/WindowServer/WSWindowSwitcher.cpp
+++ b/Servers/WindowServer/WSWindowSwitcher.cpp
@@ -71,7 +71,7 @@ void WSWindowSwitcher::on_key_event(const WSKeyEvent& event)
void WSWindowSwitcher::draw()
{
- auto& palette = WSWindowManager::the().palette();
+ auto palette = WSWindowManager::the().palette();
Painter painter(*m_switcher_window->backing_store());
painter.fill_rect({ {}, m_rect.size() }, palette.window());
painter.draw_rect({ {}, m_rect.size() }, palette.threed_shadow2());