mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
workspace: Use better window check option in existing code
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3386>
(cherry picked from commit 46c74acb1b)
This commit is contained in:
parent
d1cc16d718
commit
e952b8922e
1 changed files with 1 additions and 1 deletions
|
|
@ -1202,7 +1202,7 @@ class Workspace extends St.Widget {
|
|||
|
||||
// We might have the window in our list already if it was on all workspaces and
|
||||
// now was moved to this workspace
|
||||
if (this._lookupIndex(metaWin) !== -1)
|
||||
if (this.containsMetaWindow(metaWin))
|
||||
return;
|
||||
|
||||
if (!this._isMyWindow(metaWin))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue