From 94a5e08faf331234c9e67ed86f780c64c3c721a0 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 14 Apr 2019 05:23:37 +0200 Subject: WindowServer: Rename WSMessage* => WSEvent*. Since I'm on a roll here, I'll just rename WSMessageFoo to WSEventFoo now that these inherit from CEventFoo anyway. --- Servers/WindowServer/WSWindowSwitcher.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Servers/WindowServer/WSWindowSwitcher.cpp') 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 #include -#include +#include #include 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); -- cgit v1.2.3