ShellApp: Use global time, not clutter time

This is correct in more circumstances.

https://bugzilla.gnome.org/show_bug.cgi?id=648149
This commit is contained in:
Colin Walters 2011-08-11 05:45:48 -04:00
parent 11f30e2e09
commit ff840db708

View File

@ -1065,7 +1065,7 @@ shell_app_launch (ShellApp *app,
screen = shell_global_get_screen (global); screen = shell_global_get_screen (global);
if (timestamp == 0) if (timestamp == 0)
timestamp = clutter_get_current_event_time (); timestamp = shell_global_get_current_time (global);
if (workspace < 0) if (workspace < 0)
workspace = meta_screen_get_active_workspace_index (screen); workspace = meta_screen_get_active_workspace_index (screen);