diff options
author | markt <markt> | 2007-05-24 20:37:18 (GMT) |
---|---|---|
committer | markt <markt> | 2007-05-24 20:37:18 (GMT) |
commit | 69c54c676b549a0d2872e9e68f4a462c3cd3acea (patch) | |
tree | bbbe2f432db57a7e576cbc4d29f9c5a583b441bd | |
parent | e3787efd9f69b036b424ccf451fe617f4f6aa1e5 (diff) | |
download | fluxbox-69c54c676b549a0d2872e9e68f4a462c3cd3acea.zip fluxbox-69c54c676b549a0d2872e9e68f4a462c3cd3acea.tar.bz2 |
immediately set a window as unfocused when unmapping, so other functions know
-rw-r--r-- | src/Window.cc | 2 |
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 | ||
1468 | void FluxboxWindow::show() { | 1470 | void FluxboxWindow::show() { |