Mercurial > pidgin
changeset 13766:e55e52d41287
[gaim-migrate @ 16178]
Workaround for win32 GTK+ bug causing the maximized window size to be saved
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 12 May 2006 02:34:07 +0000 |
parents | 13b7e59a0759 |
children | 61a6fe79ba15 |
files | src/gtkblist.c |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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") &&