WindowServer: Clear any highlighted window when dismissing the switcher.

This commit is contained in:
Andreas Kling
2019-03-10 02:19:55 +01:00
parent 48e4b3e751
commit 420ef4da8a

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