that was a silly mistake. fullscreen windows amongst others will not crash now :D

This commit is contained in:
Dana Jansens 2007-03-12 03:07:00 +00:00
parent 52176d1485
commit 9ca0554507

View file

@ -242,8 +242,10 @@ static void restack_windows(ObClient *selected, gboolean raise)
last = NULL;
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;
}
/* if lowering, stop at the beginning of the layer */
if (!raise)
break;