workspace: Always remove removed windows
Since mutter commit 527c53a2a0582eba, MetaWorkspace::window-removed is emitted *before* MetaWindow:workspace is updated, so the test whether the removed window should still be on the workspace in question will always return true. Assume the test is no longer necessary nowadays to fix this very obvious regression. https://bugzilla.gnome.org/show_bug.cgi?id=735608
This commit is contained in:
parent
3526bc0f0a
commit
c9f3afc38f
@ -1417,10 +1417,6 @@ const Workspace = new Lang.Class({
|
||||
if (index == -1)
|
||||
return;
|
||||
|
||||
// Check if window still should be here
|
||||
if (win && this._isMyWindow(win))
|
||||
return;
|
||||
|
||||
let clone = this._windows[index];
|
||||
|
||||
this._windows.splice(index, 1);
|
||||
|
@ -367,10 +367,6 @@ const WorkspaceThumbnail = new Lang.Class({
|
||||
if (index == -1)
|
||||
return;
|
||||
|
||||
// Check if window still should be here
|
||||
if (win && this._isMyWindow(win) && this._isOverviewWindow(win))
|
||||
return;
|
||||
|
||||
let clone = this._windows[index];
|
||||
this._windows.splice(index, 1);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user