src/gtkblist.c

changeset 13768
4bf36498e887
parent 13757
aa4297b844b6
child 13792
ceb938a873da
equal deleted inserted replaced
13767:295610fdde16 13768:4bf36498e887
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") &&

mercurial