only add group transients when you have a group

Signed-off-by: Dana Jansens <danakj@orodu.net>
This commit is contained in:
Dana Jansens 2007-07-12 16:30:05 -04:00
parent 35b87d6d38
commit abff95bc50

View file

@ -1337,7 +1337,7 @@ static void client_update_transient_tree(ObClient *self,
C is transient for B C is transient for B
A can't be transient for C or we have a cycle A can't be transient for C or we have a cycle
*/ */
if (!newgtran && if (!newgtran && newgroup &&
(!newparent || (!newparent ||
!client_search_top_direct_parent(newparent)->transient_for_group) && !client_search_top_direct_parent(newparent)->transient_for_group) &&
client_normal(self)) client_normal(self))