1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 18:05:07 +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,8 @@ String GShortcut::to_string() const
parts.append("Shift");
if (m_modifiers & Mod_Alt)
parts.append("Alt");
if (m_modifiers & Mod_Logo)
parts.append("Logo");
parts.append(::to_string(m_key));