aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkt <markt>2007-05-24 20:37:18 (GMT)
committermarkt <markt>2007-05-24 20:37:18 (GMT)
commit69c54c676b549a0d2872e9e68f4a462c3cd3acea (patch)
treebbbe2f432db57a7e576cbc4d29f9c5a583b441bd
parente3787efd9f69b036b424ccf451fe617f4f6aa1e5 (diff)
downloadfluxbox-69c54c676b549a0d2872e9e68f4a462c3cd3acea.zip
fluxbox-69c54c676b549a0d2872e9e68f4a462c3cd3acea.tar.bz2
immediately set a window as unfocused when unmapping, so other functions know
-rw-r--r--src/Window.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 51b35d5..d2a6e34 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -1463,6 +1463,8 @@ void FluxboxWindow::hide(bool interrupt_moving) {
1463 menu().hide(); 1463 menu().hide();
1464 frame().hide(); 1464 frame().hide();
1465 1465
1466 if (isFocused())
1467 FocusControl::setFocusedWindow(0);
1466} 1468}
1467 1469
1468void FluxboxWindow::show() { 1470void FluxboxWindow::show() {