From 7981cc0fc77566fce821d5543f4ecb2f302f8062 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Wed, 7 May 2003 11:33:56 +0000 Subject: fixed focus new on deiconify --- src/Window.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Window.cc b/src/Window.cc index bd930db..1364254 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.158 2003/05/04 16:55:40 rathnor Exp $ +// $Id: Window.cc,v 1.159 2003/05/07 11:33:56 fluxgen Exp $ #include "Window.hh" @@ -1238,7 +1238,7 @@ void FluxboxWindow::deiconify(bool reassoc, bool do_raise) { m_frame.show(); - if (was_iconic && screen.doFocusNew()) + if (was_iconic || screen.doFocusNew()) setInputFocus(); if (focused != m_frame.focused()) -- cgit v0.11.2