watch for windows without frames, they can be in the transient order before they get fully managed

This commit is contained in:
Dana Jansens 2003-04-27 22:25:15 +00:00
parent ea4913fc85
commit 5888e7ed4b

View file

@ -81,7 +81,8 @@ static void raise_recursive(Client *client)
/* raise transients first */ /* raise transients first */
for (sit = client->transients; sit; sit = sit->next) for (sit = client->transients; sit; sit = sit->next)
raise_recursive(sit->data); if (((Client*)sit->data)->frame)
raise_recursive(sit->data);
/* find 'it' where it is the positiion in the stacking order where /* find 'it' where it is the positiion in the stacking order where
'client' will be inserted *before* */ 'client' will be inserted *before* */