but deiconify

This commit is contained in:
Dana Jansens 2007-05-08 22:36:52 +00:00
parent 370b5ba27d
commit f0e5332b4a

View file

@ -2857,7 +2857,7 @@ static void client_iconify_recursive(ObClient *self,
void client_iconify(ObClient *self, gboolean iconic, gboolean curdesk)
{
if (self->functions & OB_CLIENT_FUNC_ICONIFY) {
if (self->functions & OB_CLIENT_FUNC_ICONIFY || !iconic) {
/* move up the transient chain as far as possible first */
self = client_search_top_normal_parent(self);
client_iconify_recursive(self, iconic, curdesk);