# HG changeset patch # User Daniel Atallah # Date 1147401247 0 # Node ID e55e52d41287682487931aa269f74f8506c6f093 # Parent 13b7e59a075943ea9341e6a8baf42f6cf05671ba [gaim-migrate @ 16178] Workaround for win32 GTK+ bug causing the maximized window size to be saved committer: Tailor Script diff -r 13b7e59a0759 -r e55e52d41287 src/gtkblist.c --- 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") &&