Fix minimize regression caused by b5c354b9.

This commit is contained in:
Tomas Janousek 2007-12-30 23:30:53 +01:00
parent 2590d207e0
commit f4ee09779b

View file

@ -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();
}