--- ../k/gnome-panel-2.14.3/gnome-panel/panel-background-monitor.c	2006-07-23 12:03:06.000000000 +0200
+++ panel-background-monitor.c	2006-09-02 23:27:10.000000000 +0200
@@ -382,8 +382,8 @@
 	gdk_drawable_get_size (
 		GDK_DRAWABLE (monitor->gdkpixmap), &pwidth, &pheight);
 
-	gdk_drawable_get_size (
-		GDK_DRAWABLE (monitor->gdkwindow), &rwidth, &rheight);
+	gdk_window_get_geometry((monitor->gdkwindow), 
+			NULL, NULL, &rwidth, &rheight, NULL);
 
 	monitor->width  = MIN (pwidth,  rwidth);
 	monitor->height = MIN (pheight, rheight);
