mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
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:
parent
52ea2fd45d
commit
616e140420
@ -324,9 +324,12 @@ get_maximum_layer_in_group (MetaWindow *window)
|
|||||||
{
|
{
|
||||||
MetaWindow *w = tmp->data;
|
MetaWindow *w = tmp->data;
|
||||||
|
|
||||||
layer = get_standalone_layer (w);
|
if (!w->override_redirect)
|
||||||
if (layer > max)
|
{
|
||||||
max = layer;
|
layer = get_standalone_layer (w);
|
||||||
|
if (layer > max)
|
||||||
|
max = layer;
|
||||||
|
}
|
||||||
|
|
||||||
tmp = tmp->next;
|
tmp = tmp->next;
|
||||||
}
|
}
|
||||||
@ -539,7 +542,8 @@ create_constraints (Constraint **constraints,
|
|||||||
MetaWindow *group_window = tmp2->data;
|
MetaWindow *group_window = tmp2->data;
|
||||||
|
|
||||||
if (!WINDOW_IN_STACK (group_window) ||
|
if (!WINDOW_IN_STACK (group_window) ||
|
||||||
w->screen != group_window->screen)
|
w->screen != group_window->screen ||
|
||||||
|
group_window->override_redirect)
|
||||||
{
|
{
|
||||||
tmp2 = tmp2->next;
|
tmp2 = tmp2->next;
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user