From bbc9901cce4576da5626de42e084c79de656ad46 Mon Sep 17 00:00:00 2001 From: Konstantin Isakov Date: Thu, 5 Feb 2009 17:09:34 +0000 Subject: [PATCH] Fix the enum definition. --- src/keyboardstate.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/keyboardstate.hh b/src/keyboardstate.hh index a59d81f5..5a4ee57a 100644 --- a/src/keyboardstate.hh +++ b/src/keyboardstate.hh @@ -11,7 +11,7 @@ class KeyboardState { public: - enum + enum Modifier { Alt = 1, Ctrl = 2, @@ -23,7 +23,7 @@ public: RightCtrl = 128, LeftShift = 256, RightShift = 512 - } Modifier; + }; /// Returns true if all Modifiers present within the given mask are pressed /// right now.