Add Main.currentTime(), to get the correct current-event-time

https://bugzilla.gnome.org/show_bug.cgi?id=590563
This commit is contained in:
Dan Winship
2009-09-23 10:13:36 -04:00
parent 0143512e00
commit 110ef17e2d
4 changed files with 38 additions and 17 deletions

View File

@ -442,7 +442,7 @@ Overview.prototype = {
},
_addNewWorkspace: function() {
global.screen.append_new_workspace(false, global.screen.get_display().get_current_time());
global.screen.append_new_workspace(false, Main.currentTime());
},
_acceptNewWorkspaceDrop: function(source, dropActor, x, y, time) {