aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/KeyUtil.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/KeyUtil.hh')
-rw-r--r--src/FbTk/KeyUtil.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/KeyUtil.hh b/src/FbTk/KeyUtil.hh
index 4909c5a..e80918a 100644
--- a/src/FbTk/KeyUtil.hh
+++ b/src/FbTk/KeyUtil.hh
@@ -87,14 +87,14 @@ public:
87 */ 87 */
88 static unsigned int keycodeToModmask(unsigned int keycode); 88 static unsigned int keycodeToModmask(unsigned int keycode);
89 int numlock() const { return m_numlock; } 89 int numlock() const { return m_numlock; }
90 int capslock() const { return m_capslock; } 90 int capslock() const { return LockMask; }
91 int scrolllock() const { return m_scrolllock; } 91 int scrolllock() const { return m_scrolllock; }
92 92
93private: 93private:
94 void loadModmap(); 94 void loadModmap();
95 95
96 XModifierKeymap *m_modmap; 96 XModifierKeymap *m_modmap;
97 int m_capslock, m_numlock, m_scrolllock; 97 int m_numlock, m_scrolllock;
98 static std::auto_ptr<KeyUtil> s_keyutil; 98 static std::auto_ptr<KeyUtil> s_keyutil;
99}; 99};
100 100