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:
Florian Müllner 2014-08-28 16:22:49 +02:00
parent 3526bc0f0a
commit c9f3afc38f
2 changed files with 0 additions and 8 deletions

View File

@ -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);

View File

@ -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);