dont count non-normal windows as parents

This commit is contained in:
Dana Jansens 2007-05-28 02:15:31 +00:00
parent 9182f1a603
commit 5ec53919bd

View file

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