From: <dat...@us...> - 2006-05-12 02:34:12
|
Revision: 16178 Author: datallah Date: 2006-05-11 19:34:07 -0700 (Thu, 11 May 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16178&view=rev Log Message: ----------- Workaround for win32 GTK+ bug causing the maximized window size to be saved Modified Paths: -------------- trunk/src/gtkblist.c Modified: trunk/src/gtkblist.c =================================================================== --- trunk/src/gtkblist.c 2006-05-11 17:02:46 UTC (rev 16177) +++ trunk/src/gtkblist.c 2006-05-12 02:34:07 UTC (rev 16178) @@ -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") && This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |