| 209 * give us bogus (0,0) coordinates. - xOr */ |
209 * give us bogus (0,0) coordinates. - xOr */ |
| 210 if (GTK_WIDGET_VISIBLE(w)) |
210 if (GTK_WIDGET_VISIBLE(w)) |
| 211 gtk_window_get_position(GTK_WINDOW(w), &x, &y); |
211 gtk_window_get_position(GTK_WINDOW(w), &x, &y); |
| 212 else |
212 else |
| 213 return FALSE; /* carry on normally */ |
213 return FALSE; /* carry on normally */ |
| |
214 |
| |
215 #ifdef _WIN32 |
| |
216 /* Workaround for GTK+ bug # 169811 - "configure_event" is fired |
| |
217 * when the window is being maximized */ |
| |
218 if (gdk_window_get_state(w->window) |
| |
219 & GDK_WINDOW_STATE_MAXIMIZED) { |
| |
220 return FALSE; |
| |
221 } |
| |
222 #endif |
| 214 |
223 |
| 215 /* don't save if nothing changed */ |
224 /* don't save if nothing changed */ |
| 216 if (x == gaim_prefs_get_int("/gaim/gtk/blist/x") && |
225 if (x == gaim_prefs_get_int("/gaim/gtk/blist/x") && |
| 217 y == gaim_prefs_get_int("/gaim/gtk/blist/y") && |
226 y == gaim_prefs_get_int("/gaim/gtk/blist/y") && |
| 218 event->width == gaim_prefs_get_int("/gaim/gtk/blist/width") && |
227 event->width == gaim_prefs_get_int("/gaim/gtk/blist/width") && |