diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-03 12:56:48 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-03 12:56:48 +0100 |
commit | 57fe316e01f6db046f04eff89adcf974c5c867a1 (patch) | |
tree | 5250872882263665b99111ea869e39f204adfd9e /WindowServer/WSMessage.h | |
parent | 159fa99539868db50162115b3155a12967e89555 (diff) | |
download | serenity-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.h | 1 |
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; } |