Remeber group leader for transient windows.

SVN revision: 16483
This commit is contained in:
sebastid 2005-09-03 12:05:51 +00:00 committed by sebastid
parent 11d8d11864
commit c4276501e0
1 changed files with 2 additions and 6 deletions

View File

@ -4764,12 +4764,8 @@ _e_border_eval(E_Border *bd)
E_Border *bd_leader;
bd_leader = e_border_find_by_client_window(bd->client.icccm.client_leader);
/*
* If this border is the leader of the group, don't register itself
* If this window is transient, don't register if the leader is the
* same as the parent
*/
if ((bd_leader) && (bd_leader != bd) && (bd_leader != bd->parent))
/* If this border is the leader of the group, don't register itself */
if ((bd_leader) && (bd_leader != bd))
{
bd_leader->group = evas_list_append(bd_leader->group, bd);
bd->leader = bd_leader;