From b065f9f284720fb69b1d019184cea27b807a4e37 Mon Sep 17 00:00:00 2001 From: markt Date: Sun, 22 Jul 2007 22:01:52 +0000 Subject: another little fix --- src/Window.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Window.cc b/src/Window.cc index aaa2348..b4c0463 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -1437,7 +1437,7 @@ void FluxboxWindow::hide(bool interrupt_moving) { menu().hide(); frame().hide(); - if (isFocused()) + if (FocusControl::focusedFbWindow() == this) FocusControl::setFocusedWindow(0); } -- cgit v0.11.2