summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Window.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc
index faf9dfc..d4e79b1 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -1986,9 +1986,11 @@ void FluxboxWindow::setFocusFlag(bool focus) {
1986 m_focussig.notify(); 1986 m_focussig.notify();
1987 if (m_client) 1987 if (m_client)
1988 m_client->focusSig().notify(); 1988 m_client->focusSig().notify();
1989 WinClient *old = WindowCmd<void>::client();
1989 WindowCmd<void>::setClient(m_client); 1990 WindowCmd<void>::setClient(m_client);
1990 Fluxbox::instance()->keys()->doAction(focus ? FocusIn : FocusOut, 0, 0, 1991 Fluxbox::instance()->keys()->doAction(focus ? FocusIn : FocusOut, 0, 0,
1991 Keys::ON_WINDOW); 1992 Keys::ON_WINDOW);
1993 WindowCmd<void>::setClient(old);
1992 } 1994 }
1993} 1995}
1994 1996