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
This commit is contained in:
parent
0951134ced
commit
9dccccb84d
1 changed files with 3 additions and 0 deletions
|
@ -55,6 +55,9 @@ public:
|
||||||
FbTk::Menu *parent = menu();
|
FbTk::Menu *parent = menu();
|
||||||
FocusControl& focus_control = m_client.screen().focusControl();
|
FocusControl& focus_control = m_client.screen().focusControl();
|
||||||
|
|
||||||
|
if (WinClient *winc = dynamic_cast<WinClient*>(&m_client)) {
|
||||||
|
fbwin->setCurrentClient(*winc, false);
|
||||||
|
}
|
||||||
m_client.focus();
|
m_client.focus();
|
||||||
fbwin->raise();
|
fbwin->raise();
|
||||||
if ((mods & ControlMask) == 0) {
|
if ((mods & ControlMask) == 0) {
|
||||||
|
|
Loading…
Reference in a new issue