waste of energy in stacking_add, and it even caused bugs. woops.
This commit is contained in:
parent
8de13a41b6
commit
2fa7129ca3
1 changed files with 1 additions and 6 deletions
|
@ -258,12 +258,7 @@ void stacking_add(ObWindow *win)
|
|||
l = window_layer(win);
|
||||
wins = g_list_append(NULL, win); /* list of 1 element */
|
||||
|
||||
for (it = stacking_list; it; it = g_list_next(it))
|
||||
if (window_layer(it->data) <= l)
|
||||
break;
|
||||
do_restack(wins, it);
|
||||
g_list_free(wins);
|
||||
|
||||
stacking_list = g_list_append(stacking_list, win);
|
||||
stacking_raise(win);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue