all repos — openbox @ 370b5ba27d77c3eecb984f2efa64a4263d454112

openbox fork - make it a bit more like ryudo

dont iconify if you can't
Dana Jansens danakj@orodu.net
commit

370b5ba27d77c3eecb984f2efa64a4263d454112

parent

b82ccb2c78521dac7cc3366727dfe71c1387bc70

1 files changed, 5 insertions(+), 3 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -2857,9 +2857,11 @@ }

void client_iconify(ObClient *self, gboolean iconic, gboolean curdesk) { - /* move up the transient chain as far as possible first */ - self = client_search_top_normal_parent(self); - client_iconify_recursive(self, iconic, curdesk); + if (self->functions & OB_CLIENT_FUNC_ICONIFY) { + /* move up the transient chain as far as possible first */ + self = client_search_top_normal_parent(self); + client_iconify_recursive(self, iconic, curdesk); + } } void client_maximize(ObClient *self, gboolean max, gint dir)