diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Window.cc | 4 |
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 | ||
1792 | void FluxboxWindow::setIconic(bool val) { | 1792 | void 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 | ||