Don't constantly restack hidden windows

A logic bug was resulting in the bottom hidden window (hidden means means
minimized or on a different workspace) continually being stacked above
the other hidden windows.

https://bugzilla.gnome.org/show_bug.cgi?id=640679
This commit is contained in:
Owen W. Taylor 2011-01-26 16:35:18 -05:00
parent 4c4c720dc1
commit 1a276a2ee5

View File

@ -974,7 +974,10 @@ meta_compositor_sync_stack (MetaCompositor *compositor,
if (old_window->hidden &&
!meta_window_actor_effect_in_progress (old_actor))
{
old_stack = g_list_delete_link (old_stack, old_stack);
old_actor = NULL;
}
else
break;
}