Only promote windows to upper layers if one of the group members is in fullscreen mode
We want panels to be behind fullscreen windows, but osd windows above them. With the current layer promotion logic, the panel will be promoted to the osd layer, which is undesirable. This change restores the old behavior by allowing layer promotion only to ActiveLayer. BUG: 436985
This commit is contained in:
parent
d031381f19
commit
e187e766b0
1 changed files with 2 additions and 2 deletions
|
@ -490,8 +490,8 @@ static Layer layerForClient(const X11Client *client)
|
|||
} else if (member->screen() != client->screen()) {
|
||||
continue;
|
||||
}
|
||||
if (member->layer() > layer) {
|
||||
layer = member->layer();
|
||||
if (member->layer() == ActiveLayer) {
|
||||
return ActiveLayer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue