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
commit 57fe316e01
Notes: sideshowbarker 2024-07-19 15:33:43 +09:00
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));