lets not change the stacking before we add the window to the stacking stack
This commit is contained in:
parent
fa6497060a
commit
34269a34e1
1 changed files with 3 additions and 3 deletions
|
@ -322,6 +322,9 @@ void client_manage(Window window)
|
|||
/* 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. */
|
||||
|
@ -364,9 +367,6 @@ void client_manage(Window window)
|
|||
|
||||
}
|
||||
|
||||
stacking_add(CLIENT_AS_WINDOW(self));
|
||||
client_restore_session_stacking(self);
|
||||
|
||||
/* focus the new window? */
|
||||
if (ob_state() != OB_STATE_STARTING &&
|
||||
(config_focus_new || client_search_focus_parent(self)) ||
|
||||
|
|
Loading…
Reference in a new issue