From 38f84c393210066acb7386aab6e35e70e0994f72 Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Mon, 4 Feb 2008 06:00:33 -0800 Subject: fix window menu again --- src/Window.cc | 2 ++ 1 file changed, 2 insertions(+) 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) { m_focussig.notify(); if (m_client) m_client->focusSig().notify(); + WinClient *old = WindowCmd::client(); WindowCmd::setClient(m_client); Fluxbox::instance()->keys()->doAction(focus ? FocusIn : FocusOut, 0, 0, Keys::ON_WINDOW); + WindowCmd::setClient(old); } } -- cgit v0.11.2