1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:07:35 +00:00

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.
This commit is contained in:
Andreas Kling 2019-03-03 12:56:48 +01:00
parent 159fa99539
commit 57fe316e01
7 changed files with 21 additions and 2 deletions

View file

@ -124,6 +124,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; }
String text() const { return m_text; }