Destroy workspaces background when exiting overlay mode

Otherwise, we kept adding new backgrounds which was breaking the overlay mode when it was re-entered.
This commit is contained in:
Marina Zhurakhinskaya 2009-02-25 14:01:39 -05:00
parent 009a8b3a04
commit b39bc62171

View File

@ -685,6 +685,9 @@ Overlay.prototype = {
this._workspaces.destroy();
this._workspaces = null;
this._workspacesBackground.destroy();
this._workspacesBackground = null;
this._sideshow.hide();
this._group.hide();
},