all repos — openbox @ 1046c19fda68f0e7c050b526e399b68b829f007f

openbox fork - make it a bit more like ryudo

more fixes for the transient tree
Dana Jansens danakj@orodu.net
commit

1046c19fda68f0e7c050b526e399b68b829f007f

parent

288e37b031ef95c12f43e9ae4018127e7d6e8a1b

1 files changed, 8 insertions(+), 9 deletions(-)

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

@@ -1179,15 +1179,14 @@ target = OB_TRAN_GROUP;

} } } - } else if (self->group) { - if (self->type == OB_CLIENT_TYPE_DIALOG || - self->type == OB_CLIENT_TYPE_TOOLBAR || - self->type == OB_CLIENT_TYPE_MENU || - self->type == OB_CLIENT_TYPE_UTILITY) - { - self->transient = TRUE; + } else if (self->type == OB_CLIENT_TYPE_DIALOG || + self->type == OB_CLIENT_TYPE_TOOLBAR || + self->type == OB_CLIENT_TYPE_MENU || + self->type == OB_CLIENT_TYPE_UTILITY) + { + self->transient = TRUE; + if (self->group) target = OB_TRAN_GROUP; - } } else self->transient = FALSE;

@@ -1281,7 +1280,7 @@ /* don't make ourself its child if it is already our child */

!client_is_direct_child(self, newparent)) newparent->transients = g_slist_append(newparent->transients, self); - /* If the group changed then we need to add any old group transient + /* If the group changed then we need to add any new group transient windows to our children. But if we're transient for the group, then other group transients are not our children.