diff options
author | fluxgen <fluxgen> | 2002-11-13 14:35:01 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-11-13 14:35:01 (GMT) |
commit | 598ff7125d6b035e16bc854547846ca7b606e590 (patch) | |
tree | f55cbcff919fdb5a24d7603d5ced49c6e1833789 /src/Keys.hh | |
parent | 353c08f1c03f884f6ac40192a96dff4c62b14eb8 (diff) | |
download | fluxbox_pavel-598ff7125d6b035e16bc854547846ca7b606e590.zip fluxbox_pavel-598ff7125d6b035e16bc854547846ca7b606e590.tar.bz2 |
determine lock masks
Diffstat (limited to 'src/Keys.hh')
-rw-r--r-- | src/Keys.hh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Keys.hh b/src/Keys.hh index 3351668..9f24fc3 100644 --- a/src/Keys.hh +++ b/src/Keys.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: Keys.hh,v 1.15 2002/08/04 15:55:13 fluxgen Exp $ | 22 | // $Id: Keys.hh,v 1.16 2002/11/13 14:35:01 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef KEYS_HH | 24 | #ifndef KEYS_HH |
25 | #define KEYS_HH | 25 | #define KEYS_HH |
@@ -165,12 +165,16 @@ private: | |||
165 | /// debug function | 165 | /// debug function |
166 | void showKeyTree(t_key *key, unsigned int w=0); | 166 | void showKeyTree(t_key *key, unsigned int w=0); |
167 | #endif //DEBUG | 167 | #endif //DEBUG |
168 | /// determine key modifier maps for caps-, num- and scrolllock | ||
169 | void determineModmap(); | ||
168 | 170 | ||
169 | struct t_actionstr{ | 171 | struct t_actionstr{ |
170 | const char *string; | 172 | const char *string; |
171 | KeyAction action; | 173 | KeyAction action; |
172 | }; | 174 | }; |
173 | 175 | ||
176 | int m_capslock_mod, m_numlock_mod, m_scrolllock_mod; ///< modifiers | ||
177 | |||
174 | static t_actionstr m_actionlist[]; | 178 | static t_actionstr m_actionlist[]; |
175 | 179 | ||
176 | std::vector<t_key *> m_keylist; | 180 | std::vector<t_key *> m_keylist; |