aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Window.cc2
1 files changed, 1 insertions, 1 deletions
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) {
1437 menu().hide(); 1437 menu().hide();
1438 frame().hide(); 1438 frame().hide();
1439 1439
1440 if (isFocused()) 1440 if (FocusControl::focusedFbWindow() == this)
1441 FocusControl::setFocusedWindow(0); 1441 FocusControl::setFocusedWindow(0);
1442} 1442}
1443 1443