From 5888e7ed4b7a6499f80ea4d4c6f10b16f99243a5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 27 Apr 2003 22:25:15 +0000 Subject: [PATCH] watch for windows without frames, they can be in the transient order before they get fully managed --- openbox/stacking.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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* */ -- 2.39.2