all repos — fluxbox @ 46c8e217ca8c5a51f987de2cb48c2aaabe3f6441

custom fork of the fluxbox windowmanager

fix alt-tab
markt markt
commit

46c8e217ca8c5a51f987de2cb48c2aaabe3f6441

parent

97f7c3e1b59b9a94e36a78d97c141f6a05f43e20

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M src/Keys.ccsrc/Keys.cc

@@ -27,6 +27,7 @@

#include "fluxbox.hh" #include "Screen.hh" +#include "FbTk/EventManager.hh" #include "FbTk/StringUtil.hh" #include "FbTk/App.hh" #include "FbTk/Command.hh"

@@ -392,7 +393,8 @@ unsigned int esc = FbTk::KeyUtil::getKey("Escape");

// if focus changes, windows will get NotifyWhileGrabbed, // which they tend to ignore - if (temp_key && type == KeyPress) + if (temp_key && type == KeyPress && + !FbTk::EventManager::instance()->grabbingKeyboard()) XUngrabKeyboard(Fluxbox::instance()->display(), CurrentTime); if (temp_key && !temp_key->keylist.empty()) { // emacs-style