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:56 +01:00
parent e59c218c62
commit 0bc41bcb1d
@@ -313,7 +313,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);