Index: workspace-switcher.c
===================================================================
RCS file: /cvs/gnome/gnome-panel/applets/wncklet/workspace-switcher.c,v
retrieving revision 1.64
diff -p -u -r1.64 workspace-switcher.c
--- workspace-switcher.c	6 Feb 2004 09:30:30 -0000	1.64
+++ workspace-switcher.c	18 Aug 2004 22:11:31 -0000
@@ -29,6 +29,9 @@
 #include <libwnck/libwnck.h>
 #include <gconf/gconf-client.h>
 
+#include <gdk/gdkx.h>
+#include <X11/Xatom.h>
+
 #include "workspace-switcher.h"
 
 #include "wncklet.h"
@@ -885,6 +888,26 @@ setup_dialog (GladeXML  *xml,
 	}
 }
 
+/* Just cut-n-paste (and slightly modify) since I'm not using gtk+-2.6. :-) */
+static void
+gdk_x11_window_set_user_time (GdkWindow *window,
+                              guint32    timestamp)
+{
+  GdkDisplay *display;
+  glong timestamp_long = (glong)timestamp;
+
+  g_assert (window != NULL);
+  g_assert (GDK_IS_WINDOW (window));
+  g_assert (!GDK_WINDOW_DESTROYED (window));
+
+  display = gdk_drawable_get_display (window);
+
+  XChangeProperty (GDK_DISPLAY_XDISPLAY (display), GDK_WINDOW_XID (window),
+                   gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_USER_TIME"),
+                   XA_CARDINAL, 32, PropModeReplace,
+                   (guchar *)&timestamp_long, 1);
+}
+
 static void 
 display_properties_dialog (BonoboUIComponent *uic,
 			   PagerData         *pager,
@@ -908,6 +931,9 @@ display_properties_dialog (BonoboUICompo
 	                                 GNOME_ICONDIR "/gnome-workspace.png");
 	gtk_window_set_screen (GTK_WINDOW (pager->properties_dialog),
 			       gtk_widget_get_screen (pager->applet));
+	gtk_widget_realize (pager->properties_dialog);
+	gdk_x11_window_set_user_time (pager->properties_dialog->window, gtk_get_current_event_time());
+        
 	gtk_window_present (GTK_WINDOW (pager->properties_dialog));
 }
 
