From 420ef4da8a12343a9e095f92c2b11d3eb20443c0 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 10 Mar 2019 02:19:55 +0100 Subject: [PATCH] WindowServer: Clear any highlighted window when dismissing the switcher. --- WindowServer/WSWindowSwitcher.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/WindowServer/WSWindowSwitcher.cpp b/WindowServer/WSWindowSwitcher.cpp index 9882d1e69b..8bee2c382e 100644 --- a/WindowServer/WSWindowSwitcher.cpp +++ b/WindowServer/WSWindowSwitcher.cpp @@ -44,6 +44,7 @@ void WSWindowSwitcher::on_key_event(const WSKeyEvent& event) return; } if (event.key() != Key_Tab) { + WSWindowManager::the().set_highlight_window(nullptr); hide(); return; }