diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-05-15 19:30:11 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-05-15 19:30:11 (GMT) |
commit | 61b04e336632ff1cf0bf38ef6b35ebf29288060c (patch) | |
tree | 107236f022eb3ed2700dc6c2ddeb35ed02b97630 /src/Keys.hh | |
parent | 398b63c7c54f16f92dfbd305f6899253372a4260 (diff) | |
download | fluxbox-61b04e336632ff1cf0bf38ef6b35ebf29288060c.zip fluxbox-61b04e336632ff1cf0bf38ef6b35ebf29288060c.tar.bz2 |
need to reset keybindings when keymap changes
Diffstat (limited to 'src/Keys.hh')
-rw-r--r-- | src/Keys.hh | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/Keys.hh b/src/Keys.hh index 68ff4ec..0812761 100644 --- a/src/Keys.hh +++ b/src/Keys.hh | |||
@@ -75,8 +75,11 @@ public: | |||
75 | 75 | ||
76 | const std::string& filename() const { return m_filename; } | 76 | const std::string& filename() const { return m_filename; } |
77 | /** | 77 | /** |
78 | Reload configuration from filename | 78 | Load configuration from file |
79 | @return true on success, else false | 79 | */ |
80 | void reload(); | ||
81 | /** | ||
82 | Reload configuration if keys file has changed | ||
80 | */ | 83 | */ |
81 | void reconfigure(); | 84 | void reconfigure(); |
82 | void keyMode(const std::string& keyMode); | 85 | void keyMode(const std::string& keyMode); |
@@ -94,10 +97,6 @@ private: | |||
94 | void ungrabButtons(); | 97 | void ungrabButtons(); |
95 | void grabWindow(Window win); | 98 | void grabWindow(Window win); |
96 | 99 | ||
97 | /** | ||
98 | Load configuration from file | ||
99 | */ | ||
100 | void reload(); | ||
101 | // Load default keybindings for when there are errors loading the keys file | 100 | // Load default keybindings for when there are errors loading the keys file |
102 | void loadDefaults(); | 101 | void loadDefaults(); |
103 | void setKeyMode(t_key *keyMode); | 102 | void setKeyMode(t_key *keyMode); |