From f4ee09779b9d9d3d0ddfb293de84308538be281a Mon Sep 17 00:00:00 2001 From: Tomas Janousek Date: Sun, 30 Dec 2007 23:30:53 +0100 Subject: Fix minimize regression caused by b5c354b9. --- src/Window.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Window.cc b/src/Window.cc index 90da1a3..cdfcfea 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -1790,9 +1790,9 @@ void FluxboxWindow::setStuck(bool val) { } void FluxboxWindow::setIconic(bool val) { - if (val && isIconic()) + if (!val && isIconic()) deiconify(); - if (!val && !isIconic()) + if (val && !isIconic()) iconify(); } -- cgit v0.11.2