diff options
author | Jean-Paul Balabanian <jepebe@users.noreply.github.com> | 2022-01-07 17:48:22 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-08 11:50:26 +0100 |
commit | d47573eba65fe736b9d1c546ce003efe3540ea9a (patch) | |
tree | b26338132aff3dd96860a5a7f49e8291bfbe154d /Userland/Libraries/LibGUI | |
parent | 87d19dfa282c7394d4ac9f984414d901b802e845 (diff) | |
download | serenity-d47573eba65fe736b9d1c546ce003efe3540ea9a.zip |
LibGUI: Add missing altgr() modifier key
Diffstat (limited to 'Userland/Libraries/LibGUI')
-rw-r--r-- | Userland/Libraries/LibGUI/Event.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/Event.h b/Userland/Libraries/LibGUI/Event.h index 52c3993b27..bc1a859914 100644 --- a/Userland/Libraries/LibGUI/Event.h +++ b/Userland/Libraries/LibGUI/Event.h @@ -332,6 +332,7 @@ public: KeyCode key() const { return m_key; } bool ctrl() const { return m_modifiers & Mod_Ctrl; } bool alt() const { return m_modifiers & Mod_Alt; } + bool altgr() const { return m_modifiers & Mod_AltGr; } bool shift() const { return m_modifiers & Mod_Shift; } bool super() const { return m_modifiers & Mod_Super; } u8 modifiers() const { return m_modifiers; } |