summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-10-10 06:00:27 +0000
committerDana Jansens <danakj@orodu.net>2003-10-10 06:00:27 +0000
commite1eff99176b9e078eb1742e736214231edc31574 (patch)
tree6a9e6277f53bf5539018536500f68ed6b46e0c23 /openbox/client.c
parent423d70b41812f01c13b46c7f5a28dc727b337073 (diff)
do client_raise after client_focus for new windows
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c4
1 files changed, 4 insertions, 0 deletions
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