From: Dana Jansens Date: Sun, 27 Apr 2003 22:25:15 +0000 (+0000) Subject: watch for windows without frames, they can be in the transient order before they... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=5888e7ed4b7a6499f80ea4d4c6f10b16f99243a5;hp=ea4913fc857b881a1cf8cc710e9f96c444683ecd;p=chaz%2Fopenbox watch for windows without frames, they can be in the transient order before they get fully managed --- diff --git a/openbox/stacking.c b/openbox/stacking.c index 6ff01721..89b5d530 100644 --- a/openbox/stacking.c +++ b/openbox/stacking.c @@ -81,7 +81,8 @@ static void raise_recursive(Client *client) /* raise transients first */ 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 'client' will be inserted *before* */