diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-11-02 00:03:32 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-11-02 00:03:32 (GMT) |
commit | f5fdbab98c437fe4eb5f74d82152a9a9ef7a47ed (patch) | |
tree | 11c703b7633fc4723075453165cd0a5906e55530 /src/Keys.cc | |
parent | 3b9611b61ddc023225092a85b21867131fb363cc (diff) | |
download | fluxbox-f5fdbab98c437fe4eb5f74d82152a9a9ef7a47ed.zip fluxbox-f5fdbab98c437fe4eb5f74d82152a9a9ef7a47ed.tar.bz2 |
don't reload keys file on modifier map events, just re-grab keys
Diffstat (limited to 'src/Keys.cc')
-rw-r--r-- | src/Keys.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Keys.cc b/src/Keys.cc index 658820e..ac25588 100644 --- a/src/Keys.cc +++ b/src/Keys.cc | |||
@@ -571,6 +571,10 @@ void Keys::reconfigure() { | |||
571 | m_reloader->checkReload(); | 571 | m_reloader->checkReload(); |
572 | } | 572 | } |
573 | 573 | ||
574 | void Keys::regrab() { | ||
575 | setKeyMode(m_keylist); | ||
576 | } | ||
577 | |||
574 | void Keys::keyMode(const string& keyMode) { | 578 | void Keys::keyMode(const string& keyMode) { |
575 | keyspace_t::iterator it = m_map.find(keyMode + ":"); | 579 | keyspace_t::iterator it = m_map.find(keyMode + ":"); |
576 | if (it == m_map.end()) | 580 | if (it == m_map.end()) |