mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
workspaceAnimation: Do not create clones for override redirect windows
Override redirect windows manage their own positioning and size alone
and are always sticky, so we're not covering them either with the
animation MonitorsGroup, and thus there's no need to clone them or we'd
end up having two windows painted.
This was causing the shell tray icon window actors (that have no opacity
by default but that are override redirect) to show up during the
animation as their clone animation is not 0.
The other option would be hide them during the animation phase, but
there's no need for this.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3285>
(cherry picked from commit 3a34c16eca)
This commit is contained in:
parent
70a141ae0f
commit
f838c15871
1 changed files with 3 additions and 0 deletions
|
|
@ -58,6 +58,9 @@ class WorkspaceGroup extends Clutter.Actor {
|
|||
if (!window.showing_on_its_workspace() || this._isDesktopWindow(window))
|
||||
return false;
|
||||
|
||||
if (window.is_override_redirect())
|
||||
return false;
|
||||
|
||||
if (!this._windowIsOnThisMonitor(window))
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue