Ignore override-redirect windows when restacking based on window groups.

http://bugzilla.gnome.org/show_bug.cgi?id=571616 /
http://bugzilla.openedhand.com/show_bug.cgi?id=1461
This commit is contained in:
Dan Winship 2009-02-26 09:59:14 -05:00
parent 52ea2fd45d
commit 616e140420

View File

@ -324,9 +324,12 @@ get_maximum_layer_in_group (MetaWindow *window)
{
MetaWindow *w = tmp->data;
layer = get_standalone_layer (w);
if (layer > max)
max = layer;
if (!w->override_redirect)
{
layer = get_standalone_layer (w);
if (layer > max)
max = layer;
}
tmp = tmp->next;
}
@ -539,7 +542,8 @@ create_constraints (Constraint **constraints,
MetaWindow *group_window = tmp2->data;
if (!WINDOW_IN_STACK (group_window) ||
w->screen != group_window->screen)
w->screen != group_window->screen ||
group_window->override_redirect)
{
tmp2 = tmp2->next;
continue;