summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/Event.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGUI/Event.h')
-rw-r--r--Userland/Libraries/LibGUI/Event.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/Event.h b/Userland/Libraries/LibGUI/Event.h
index edbf4ad2c9..92035a8d05 100644
--- a/Userland/Libraries/LibGUI/Event.h
+++ b/Userland/Libraries/LibGUI/Event.h
@@ -63,6 +63,7 @@ public:
WM_WindowIconBitmapChanged,
WM_AppletAreaSizeChanged,
WM_SuperKeyPressed,
+ WM_SuperSpaceKeyPressed,
__End_WM_Events,
};
@@ -102,6 +103,14 @@ public:
}
};
+class WMSuperSpaceKeyPressedEvent : public WMEvent {
+public:
+ explicit WMSuperSpaceKeyPressedEvent(int client_id)
+ : WMEvent(Event::Type::WM_SuperSpaceKeyPressed, client_id, 0)
+ {
+ }
+};
+
class WMAppletAreaSizeChangedEvent : public WMEvent {
public:
explicit WMAppletAreaSizeChangedEvent(const Gfx::IntSize& size)