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>
This commit is contained in:
parent
8af8a27d91
commit
46c74acb1b
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
|
// We might have the window in our list already if it was on all workspaces and
|
||||||
// now was moved to this workspace
|
// now was moved to this workspace
|
||||||
if (this._lookupIndex(metaWin) !== -1)
|
if (this.containsMetaWindow(metaWin))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!this._isMyWindow(metaWin))
|
if (!this._isMyWindow(metaWin))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue