summaryrefslogtreecommitdiff
path: root/Servers/WindowServer/WSWindowSwitcher.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-14 05:23:37 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-14 05:23:37 +0200
commit94a5e08faf331234c9e67ed86f780c64c3c721a0 (patch)
tree7b4de49709614bdf2c64bd6b604bec059b8192e1 /Servers/WindowServer/WSWindowSwitcher.cpp
parentde184d0999018e598daae7cd872b181ca92f5a31 (diff)
downloadserenity-94a5e08faf331234c9e67ed86f780c64c3c721a0.zip
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.
Diffstat (limited to 'Servers/WindowServer/WSWindowSwitcher.cpp')
-rw-r--r--Servers/WindowServer/WSWindowSwitcher.cpp4
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);