src/gtkblist.c

changeset 13768
4bf36498e887
parent 13757
aa4297b844b6
child 13792
ceb938a873da
--- a/src/gtkblist.c	Thu May 11 17:02:46 2006 +0000
+++ b/src/gtkblist.c	Fri May 12 02:34:07 2006 +0000
@@ -212,6 +212,15 @@
 	else
 		return FALSE; /* carry on normally */
 
+#ifdef _WIN32
+	/* Workaround for GTK+ bug # 169811 - "configure_event" is fired
+	 * when the window is being maximized */
+	if (gdk_window_get_state(w->window)
+			& GDK_WINDOW_STATE_MAXIMIZED) {
+		return FALSE;
+	}
+#endif
+
 	/* don't save if nothing changed */
 	if (x == gaim_prefs_get_int("/gaim/gtk/blist/x") &&
 		y == gaim_prefs_get_int("/gaim/gtk/blist/y") &&

mercurial