aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-11-02 00:03:32 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-11-02 00:03:32 (GMT)
commitf5fdbab98c437fe4eb5f74d82152a9a9ef7a47ed (patch)
tree11c703b7633fc4723075453165cd0a5906e55530 /src/Keys.cc
parent3b9611b61ddc023225092a85b21867131fb363cc (diff)
downloadfluxbox_pavel-f5fdbab98c437fe4eb5f74d82152a9a9ef7a47ed.zip
fluxbox_pavel-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.cc4
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
574void Keys::regrab() {
575 setKeyMode(m_keylist);
576}
577
574void Keys::keyMode(const string& keyMode) { 578void 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())