summaryrefslogtreecommitdiff
path: root/WindowServer/WSMessage.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-03 12:56:48 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-03 12:56:48 +0100
commit57fe316e01f6db046f04eff89adcf974c5c867a1 (patch)
tree5250872882263665b99111ea869e39f204adfd9e /WindowServer/WSMessage.h
parent159fa99539868db50162115b3155a12967e89555 (diff)
downloadserenity-57fe316e01f6db046f04eff89adcf974c5c867a1.zip
Detect the "Logo" (Windows/Apple/whatever) key and use it for window resize.
This will be comfortable enough while I'm still developing with emulators. QEMU keeps eating my "Alt" key presses and it's making things difficult.
Diffstat (limited to 'WindowServer/WSMessage.h')
-rw-r--r--WindowServer/WSMessage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/WindowServer/WSMessage.h b/WindowServer/WSMessage.h
index 9981eb19af..0dd4dd910b 100644
--- a/WindowServer/WSMessage.h
+++ b/WindowServer/WSMessage.h
@@ -463,6 +463,7 @@ public:
bool ctrl() const { return m_modifiers & Mod_Ctrl; }
bool alt() const { return m_modifiers & Mod_Alt; }
bool shift() const { return m_modifiers & Mod_Shift; }
+ bool logo() const { return m_modifiers & Mod_Logo; }
byte modifiers() const { return m_modifiers; }
char character() const { return m_character; }