all repos — openbox @ 34269a34e14aaf0339b3687a713415dff4ad36d2

openbox fork - make it a bit more like ryudo

lets not change the stacking before we add the window to the stacking stack
Mikael Magnusson mikachu@comhem.se
commit

34269a34e14aaf0339b3687a713415dff4ad36d2

parent

fa6497060ae559d4c0b59ccdfc918c74f7db42d8

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -322,6 +322,9 @@

/* get and set application level settings */ settings = get_settings(self); + stacking_add(CLIENT_AS_WINDOW(self)); + client_restore_session_stacking(self); + if (settings) { /* Don't worry, we won't actually both shade and undecorate the * window when push comes to shove. */

@@ -363,9 +366,6 @@ if (settings->layer > -2 && settings->layer < 2)

client_set_layer(self, settings->layer); } - - stacking_add(CLIENT_AS_WINDOW(self)); - client_restore_session_stacking(self); /* focus the new window? */ if (ob_state() != OB_STATE_STARTING &&