diff --git a/src/keys.hh b/src/keys.hh index 262603d8..d579395d 100644 --- a/src/keys.hh +++ b/src/keys.hh @@ -14,9 +14,9 @@ struct Key enum class Modifiers { None = 0, - Control = 1, - Alt = 2, - ControlAlt = 3 + Control = 1 << 0, + Alt = 1 << 1, + ControlAlt = Control | Alt }; enum NamedKey : Codepoint {