]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-ui-utils.c
empathy_window_present: use gdk_x11_display_get_user_time as timestamp
[empathy.git] / libempathy-gtk / empathy-ui-utils.c
index b91bf0313f8bc92002361f88198a4c669913bb3b..b8980a096a347e087add56bf0274155fc1dd402b 100644 (file)
@@ -1388,6 +1388,7 @@ void
 empathy_window_present (GtkWindow *window)
 {
        GdkWindow *gdk_window;
+       guint32 timestamp;
 
        g_return_if_fail (GTK_IS_WINDOW (window));
 
@@ -1409,7 +1410,8 @@ empathy_window_present (GtkWindow *window)
                        gtk_widget_hide (GTK_WIDGET (window));
        }
 
-       gtk_window_present_with_time (window, G_MAXINT32);
+       timestamp = gdk_x11_display_get_user_time (gdk_display_get_default ());
+       gtk_window_present_with_time (window, timestamp);
        gtk_window_set_skip_taskbar_hint (window, FALSE);
        gtk_window_deiconify (window);
 }