all repos — fluxbox @ 9dccccb84df930eca0e74a96d18b0cee36a3e216

custom fork of the fluxbox windowmanager

ensure to update the current client tab from menu

the menu focuses which tries to set the current tab, but fails because
the iconified client won't have the input focus (yet), so we pass it a
dedicated "set this client and do not try to set input because we're
going to do next anyway explicitly" call =)

BUG: 997
Thomas Lübking thomas.luebking@gmail.com
commit

9dccccb84df930eca0e74a96d18b0cee36a3e216

parent

0951134cedd15e456e638b029497669c51bd36a7

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

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

@@ -55,6 +55,9 @@ // AFTER ~ClientMenuItem() is called.

FbTk::Menu *parent = menu(); FocusControl& focus_control = m_client.screen().focusControl(); + if (WinClient *winc = dynamic_cast<WinClient*>(&m_client)) { + fbwin->setCurrentClient(*winc, false); + } m_client.focus(); fbwin->raise(); if ((mods & ControlMask) == 0) {