aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Janousek <tomi@nomi.cz>2007-12-30 22:30:53 (GMT)
committerTomas Janousek <tomi@nomi.cz>2007-12-30 22:31:40 (GMT)
commitf4ee09779b9d9d3d0ddfb293de84308538be281a (patch)
tree5b673de64d6836469e67068a0339a0b327484887
parent2590d207e084513dd63b11ae521cb65d3b407ed1 (diff)
downloadfluxbox_paul-f4ee09779b9d9d3d0ddfb293de84308538be281a.zip
fluxbox_paul-f4ee09779b9d9d3d0ddfb293de84308538be281a.tar.bz2
Fix minimize regression caused by b5c354b9.
-rw-r--r--src/Window.cc4
1 files 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) {
1790} 1790}
1791 1791
1792void FluxboxWindow::setIconic(bool val) { 1792void FluxboxWindow::setIconic(bool val) {
1793 if (val && isIconic()) 1793 if (!val && isIconic())
1794 deiconify(); 1794 deiconify();
1795 if (!val && !isIconic()) 1795 if (val && !isIconic())
1796 iconify(); 1796 iconify();
1797} 1797}
1798 1798