From e1eff99176b9e078eb1742e736214231edc31574 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 10 Oct 2003 06:00:27 +0000 Subject: [PATCH] do client_raise after client_focus for new windows --- openbox/client.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openbox/client.c b/openbox/client.c index 257b480c..8dfd8e52 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -365,6 +365,10 @@ void client_manage(Window window) event_halt_focus_delay(); client_focus(self); + /* since focus can change the stacking orders, if we focus the window + then the standard raise it gets is not enough, we need to queue one + for after the focus change takes place */ + client_raise(self); } /* client_activate does this but we aret using it so we have to do it -- 2.45.2