all repos — fluxbox @ 3503f75903207e8bc658559fb3df46ea0de55004

custom fork of the fluxbox windowmanager

lots of unrelated fixes
markt markt
commit

3503f75903207e8bc658559fb3df46ea0de55004

parent

8ce203c9497519771c079ff0a3c30135dc0ac53a

4 files changed, 9 insertions(+), 11 deletions(-)

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

@@ -662,15 +662,7 @@ }

} void Ewmh::updateLayer(FluxboxWindow &win) { - //!! TODO _NET_WM_WINDOW_TYPE - /* - if (win.getLayer() == Fluxbox::instance()->getAboveDockLayer()) { - // _NET_WM_STATE_BELOW - - } else if (win.getLayer() == Fluxbox::instance()->getBottomLayer()) { - // _NET_WM_STATE_ABOVE - } - */ + updateState(win); } void Ewmh::updateHints(FluxboxWindow &win) {
M src/FbTk/Menu.ccsrc/FbTk/Menu.cc

@@ -965,6 +965,10 @@

if (w == m_active_index) return; + // if another menu is focused, change focus to this one, so arrow keys + // work as expected + if (s_focused != this && s_focused != 0) + grabInputFocus(); if (validIndex(m_active_index) && w != m_active_index) { int old_active_index = m_active_index;
M src/Keys.ccsrc/Keys.cc

@@ -339,7 +339,7 @@

// grab "None Escape" to exit keychain in the middle unsigned int esc = FbTk::KeyUtil::getKey("Escape"); - if (temp_key && temp_key->keylist.size()) { // emacs-style + if (temp_key && !temp_key->keylist.empty()) { // emacs-style if (!saved_keymode) saved_keymode = m_keylist; next_key = temp_key;
M src/fluxbox.ccsrc/fluxbox.cc

@@ -733,7 +733,9 @@ ScreenList::iterator it_end = m_screen_list.end();

for (; it != it_end; ++it) { if ( (*it)->screenNumber() == FbTk::Menu::focused()->fbwindow().screenNumber()) { - FocusControl::revertFocus(**it); + FocusControl::setFocusedWindow(0); + m_revert_screen = *it; + m_revert_timer.start(); break; // found the screen, no more search } }