diff options
Diffstat (limited to 'Servers/WindowServer/WSWindowSwitcher.cpp')
-rw-r--r-- | Servers/WindowServer/WSWindowSwitcher.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Servers/WindowServer/WSWindowSwitcher.cpp b/Servers/WindowServer/WSWindowSwitcher.cpp index 2507ed60bb..395bb77279 100644 --- a/Servers/WindowServer/WSWindowSwitcher.cpp +++ b/Servers/WindowServer/WSWindowSwitcher.cpp @@ -1,6 +1,6 @@ #include <WindowServer/WSWindowSwitcher.h> #include <WindowServer/WSWindowManager.h> -#include <WindowServer/WSMessage.h> +#include <WindowServer/WSEvent.h> #include <SharedGraphics/Font.h> WSWindowSwitcher::WSWindowSwitcher() @@ -32,7 +32,7 @@ WSWindow* WSWindowSwitcher::selected_window() void WSWindowSwitcher::on_key_event(const WSKeyEvent& event) { - if (event.type() == WSMessage::KeyUp) { + if (event.type() == WSEvent::KeyUp) { if (event.key() == Key_Logo) { if (auto* window = selected_window()) WSWindowManager::the().move_to_front_and_make_active(*window); |