1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:47:34 +00:00

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 :)
This commit is contained in:
Conor Byrne 2021-04-17 23:21:24 +01:00 committed by Andreas Kling
parent ec3596545a
commit 88ecfa164a
6 changed files with 45 additions and 1 deletions

View file

@ -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;
};
}