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
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
src/ClientMenu.cc
→
src/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) {