diff options
author | fluxgen <fluxgen> | 2003-12-31 00:39:26 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-12-31 00:39:26 (GMT) |
commit | 4e6017860451e8fab450c1ef23135f23624c8eb5 (patch) | |
tree | fa3729fad25f8f873807a0c0763b6c167f68f2f6 | |
parent | b2ba9c135591cce3fd28c23cbac2b0dc153ca242 (diff) | |
download | fluxbox_lack-4e6017860451e8fab450c1ef23135f23624c8eb5.zip fluxbox_lack-4e6017860451e8fab450c1ef23135f23624c8eb5.tar.bz2 |
accessor for lock modifiers
-rw-r--r-- | src/FbTk/KeyUtil.hh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/FbTk/KeyUtil.hh b/src/FbTk/KeyUtil.hh index 5b5cb3e..a5a224a 100644 --- a/src/FbTk/KeyUtil.hh +++ b/src/FbTk/KeyUtil.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: KeyUtil.hh,v 1.5 2003/12/30 18:10:43 fluxgen Exp $ | 22 | // $Id: KeyUtil.hh,v 1.6 2003/12/31 00:39:26 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef FBTK_KEYUTIL_HH | 24 | #ifndef FBTK_KEYUTIL_HH |
25 | #define FBTK_KEYUTIL_HH | 25 | #define FBTK_KEYUTIL_HH |
@@ -75,7 +75,9 @@ public: | |||
75 | @return corresponding modifier mask | 75 | @return corresponding modifier mask |
76 | */ | 76 | */ |
77 | static unsigned int keycodeToModmask(unsigned int keycode); | 77 | static unsigned int keycodeToModmask(unsigned int keycode); |
78 | 78 | int numlock() const { return m_numlock; } | |
79 | int capslock() const { return m_capslock; } | ||
80 | int scrolllock() const { return m_scrolllock; } | ||
79 | private: | 81 | private: |
80 | void loadModmap(); | 82 | void loadModmap(); |
81 | 83 | ||