summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/WindowManagerServerConnection.h
diff options
context:
space:
mode:
authorConor Byrne <71222289+dreamhopping@users.noreply.github.com>2021-04-17 23:21:24 +0100
committerAndreas Kling <kling@serenityos.org>2021-04-19 20:03:25 +0200
commit88ecfa164a7bb07dccc0e4ccbe11ed66f4d7fa67 (patch)
tree91d531b43df7d1847dfa2c70dfbfb522916399bd /Userland/Libraries/LibGUI/WindowManagerServerConnection.h
parentec3596545abd68dc94324ce6f30ba05051c595d5 (diff)
downloadserenity-88ecfa164a7bb07dccc0e4ccbe11ed66f4d7fa67.zip
LibGUI+WindowServer: Add WM_SuperKeyPressed event
This commit adds an event called WM_SuperKeyPressed which is sent to all windows via WindowManagerServerConnection. The event is fired from WindowManager when the super key is pressed, which is the windows key on most keyboards :)
Diffstat (limited to 'Userland/Libraries/LibGUI/WindowManagerServerConnection.h')
-rw-r--r--Userland/Libraries/LibGUI/WindowManagerServerConnection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/WindowManagerServerConnection.h b/Userland/Libraries/LibGUI/WindowManagerServerConnection.h
index 3543c6f9bc..99da28aadd 100644
--- a/Userland/Libraries/LibGUI/WindowManagerServerConnection.h
+++ b/Userland/Libraries/LibGUI/WindowManagerServerConnection.h
@@ -52,6 +52,7 @@ private:
virtual void handle(const Messages::WindowManagerClient::WindowIconBitmapChanged&) override;
virtual void handle(const Messages::WindowManagerClient::WindowRectChanged&) override;
virtual void handle(const Messages::WindowManagerClient::AppletAreaSizeChanged&) override;
+ virtual void handle(const Messages::WindowManagerClient::SuperKeyPressed&) override;
};
}