aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ClientMenu.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ClientMenu.cc b/src/ClientMenu.cc
index 1a7417a..00836f0 100644
--- a/src/ClientMenu.cc
+++ b/src/ClientMenu.cc
@@ -55,6 +55,9 @@ public:
55 FbTk::Menu *parent = menu(); 55 FbTk::Menu *parent = menu();
56 FocusControl& focus_control = m_client.screen().focusControl(); 56 FocusControl& focus_control = m_client.screen().focusControl();
57 57
58 if (WinClient *winc = dynamic_cast<WinClient*>(&m_client)) {
59 fbwin->setCurrentClient(*winc, false);
60 }
58 m_client.focus(); 61 m_client.focus();
59 fbwin->raise(); 62 fbwin->raise();
60 if ((mods & ControlMask) == 0) { 63 if ((mods & ControlMask) == 0) {