WindowServer: Clear any highlighted window when dismissing the switcher.

This commit is contained in:
Andreas Kling 2019-03-10 02:19:55 +01:00
commit 420ef4da8a
Notes: sideshowbarker 2024-07-19 15:05:47 +09:00

View file

@ -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;
}