aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-11-05 17:05:58 (GMT)
committermarkt <markt>2007-11-05 17:05:58 (GMT)
commit97f7c3e1b59b9a94e36a78d97c141f6a05f43e20 (patch)
tree982ba8f35083fb54e5058f564ec8e301d8a229dc /src/Keys.cc
parent2c4e1f9a024433396f17ea5f3ef3fda46e0d8edd (diff)
downloadfluxbox_pavel-97f7c3e1b59b9a94e36a78d97c141f6a05f43e20.zip
fluxbox_pavel-97f7c3e1b59b9a94e36a78d97c141f6a05f43e20.tar.bz2
various refactoring and minor changes
Diffstat (limited to 'src/Keys.cc')
-rw-r--r--src/Keys.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Keys.cc b/src/Keys.cc
index 34d5cc0..6a4406a 100644
--- a/src/Keys.cc
+++ b/src/Keys.cc
@@ -390,6 +390,11 @@ bool Keys::doAction(int type, unsigned int mods, unsigned int key,
390 // grab "None Escape" to exit keychain in the middle 390 // grab "None Escape" to exit keychain in the middle
391 unsigned int esc = FbTk::KeyUtil::getKey("Escape"); 391 unsigned int esc = FbTk::KeyUtil::getKey("Escape");
392 392
393 // if focus changes, windows will get NotifyWhileGrabbed,
394 // which they tend to ignore
395 if (temp_key && type == KeyPress)
396 XUngrabKeyboard(Fluxbox::instance()->display(), CurrentTime);
397
393 if (temp_key && !temp_key->keylist.empty()) { // emacs-style 398 if (temp_key && !temp_key->keylist.empty()) { // emacs-style
394 if (!saved_keymode) 399 if (!saved_keymode)
395 saved_keymode = m_keylist; 400 saved_keymode = m_keylist;