From 69c54c676b549a0d2872e9e68f4a462c3cd3acea Mon Sep 17 00:00:00 2001 From: markt Date: Thu, 24 May 2007 20:37:18 +0000 Subject: immediately set a window as unfocused when unmapping, so other functions know --- src/Window.cc | 2 ++ 1 file changed, 2 insertions(+) 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) { menu().hide(); frame().hide(); + if (isFocused()) + FocusControl::setFocusedWindow(0); } void FluxboxWindow::show() { -- cgit v0.11.2