diff options
author | Conor Byrne <71222289+dreamhopping@users.noreply.github.com> | 2021-04-17 23:21:24 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-19 20:03:25 +0200 |
commit | 88ecfa164a7bb07dccc0e4ccbe11ed66f4d7fa67 (patch) | |
tree | 91d531b43df7d1847dfa2c70dfbfb522916399bd /Userland/Libraries/LibGUI/WindowManagerServerConnection.h | |
parent | ec3596545abd68dc94324ce6f30ba05051c595d5 (diff) | |
download | serenity-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.h | 1 |
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; }; } |