native-window-placement: fix disabling the extension

The monkey patch was being reinstalled under the wrong name.
This commit is contained in:
Giovanni Campagna
2012-11-11 19:26:18 +01:00
parent 5673baa6b5
commit 8d2e8c8cb1

View File

@@ -306,7 +306,7 @@ function enable() {
* INITIAL - this is the initial positioning of the windows.
* ANIMATE - Indicates that we need animate changing position.
*/
workspaceInjections['positionWindows'] = Workspace.Workspace.prototype._realPositionWindows;
workspaceInjections['_realPositionWindows'] = Workspace.Workspace.prototype._realPositionWindows;
Workspace.Workspace.prototype._realPositionWindows = function(flags) {
if (this._repositionWindowsId > 0) {
Mainloop.source_remove(this._repositionWindowsId);