From: Dana Jansens Date: Mon, 28 May 2007 02:15:31 +0000 (+0000) Subject: dont count non-normal windows as parents X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=5ec53919bd42219f85748ed6fbf28c40d9b72186;p=chaz%2Fopenbox dont count non-normal windows as parents --- diff --git a/openbox/client.c b/openbox/client.c index 37d27ab5..3548b7c8 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2377,7 +2377,8 @@ ObClient *client_search_focus_tree_full(ObClient *self) gboolean client_has_parent(ObClient *self) { return (self->transient_for && - (self->transient_for != OB_TRAN_GROUP || + ((self->transient_for != OB_TRAN_GROUP && + client_normal(self->transient_for) || (self->group && self->group->members->next))); }