auto-move-windows: Remove unused parameters

meta_window_change_workspace_by_index() lost its timestamp parameter
a while ago.
This commit is contained in:
Florian Müllner
2014-04-24 11:56:03 +02:00
parent f007807ea1
commit ec49693c6f
+2 -2
View File
@@ -40,7 +40,7 @@ const WindowMover = new Lang.Class({
_ensureAtLeastWorkspaces: function(num, window) {
for (let j = global.screen.n_workspaces; j <= num; j++) {
window.change_workspace_by_index(j-1, false, global.get_current_time());
window.change_workspace_by_index(j-1, false);
global.screen.append_new_workspace(false, 0);
}
},
@@ -73,7 +73,7 @@ const WindowMover = new Lang.Class({
if (workspace_num >= global.screen.n_workspaces)
this._ensureAtLeastWorkspaces(workspace_num, window);
window.change_workspace_by_index(workspace_num, false, global.get_current_time());
window.change_workspace_by_index(workspace_num, false);
}
}
}