Index: gnome-panel/panel-run-dialog.c
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/panel-run-dialog.c,v
retrieving revision 1.67
diff -p -u -r1.67 panel-run-dialog.c
--- gnome-panel/panel-run-dialog.c	17 Jan 2006 19:31:01 -0000	1.67
+++ gnome-panel/panel-run-dialog.c	20 Jan 2006 19:06:49 -0000
@@ -1753,7 +1753,8 @@ panel_run_dialog_setup_pixmap (PanelRunD
 
 static PanelRunDialog *
 panel_run_dialog_new (GdkScreen *screen,
-		      GladeXML  *gui)
+		      GladeXML  *gui,
+		      guint32    activate_time)
 {
 	PanelRunDialog *dialog;
 
@@ -1788,6 +1789,9 @@ panel_run_dialog_new (GdkScreen *screen,
 	gtk_window_set_screen (GTK_WINDOW (dialog->run_dialog), screen);
 
 	gtk_widget_grab_focus (dialog->gtk_entry);
+	gtk_widget_realize (dialog->run_dialog);
+	gdk_x11_window_set_user_time (dialog->run_dialog->window,
+				      activate_time);
 	gtk_widget_show (dialog->run_dialog);
 	
 	return dialog;
@@ -1828,7 +1832,7 @@ panel_run_dialog_present (GdkScreen *scr
 		return;
 	}
 
-	static_dialog = panel_run_dialog_new (screen, gui);
+	static_dialog = panel_run_dialog_new (screen, gui, activate_time);
 
 	g_signal_connect_swapped (static_dialog->run_dialog, "destroy",
 				  G_CALLBACK (panel_run_dialog_static_dialog_destroyed),
