? floatingtest
Index: testsocket_common.c
===================================================================
RCS file: /cvs/gnome/gtk+/tests/testsocket_common.c,v
retrieving revision 1.8
diff -u -p -r1.8 testsocket_common.c
--- testsocket_common.c	21 Jul 2005 13:48:07 -0000	1.8
+++ testsocket_common.c	27 May 2006 23:07:46 -0000
@@ -246,6 +246,17 @@ create_content (GtkWindow *window, gbool
   return frame;
 }
 
+static gboolean
+configure_cb (GtkWidget         *widget,
+		GdkEventConfigure *event,
+		gpointer           user_data)
+{
+	g_message ("configure_cb: %d x %d (at %d, %d)",
+			event->width, event->height,
+			event->x, event->y);
+	return FALSE;
+}
+
 guint32
 create_child_plug (guint32  xid,
 		   gboolean local)
@@ -254,6 +265,10 @@ create_child_plug (guint32  xid,
   GtkWidget *content;
 
   window = gtk_plug_new (xid);
+
+  g_signal_connect (G_OBJECT (window),
+		  "configure-event",
+		  G_CALLBACK (configure_cb), NULL);
 
   g_signal_connect (window, "destroy",
 		    local ? G_CALLBACK (local_destroy)
