1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:28:12 +00:00

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