that was a silly mistake. fullscreen windows amongst others will not crash now :D
This commit is contained in:
parent
52176d1485
commit
9ca0554507
1 changed files with 3 additions and 1 deletions
|
@ -242,8 +242,10 @@ static void restack_windows(ObClient *selected, gboolean raise)
|
||||||
last = NULL;
|
last = NULL;
|
||||||
for (it = g_list_last(stacking_list); it; it = g_list_previous(it))
|
for (it = g_list_last(stacking_list); it; it = g_list_previous(it))
|
||||||
{
|
{
|
||||||
if (window_layer(it->data) < selected->layer)
|
if (window_layer(it->data) < selected->layer) {
|
||||||
|
last = it;
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
/* if lowering, stop at the beginning of the layer */
|
/* if lowering, stop at the beginning of the layer */
|
||||||
if (!raise)
|
if (!raise)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue