Fix context iterations for handle_configure_event()

svn path=/trunk/; revision=17834
This commit is contained in:
Cody Russell 2007-05-13 18:44:27 +00:00
parent 1612845031
commit 50af49319a
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2007-05-13 Cody Russell <bratsche@gnome.org>
* gdk/win32/gdkevents-win32.c: Only do the configure event context
iteration under WM_WINDOWPOSCHANGED instead of inside
handle_configure_event(). This fixes a bug that prevented window
contents from being redrawn after gtk_window_resize(). (#436721)
2007-05-12 Behdad Esfahbod <behdad@gnome.org>
* gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path

View File

@ -1778,8 +1778,6 @@ handle_configure_event (MSG *msg,
append_event (event);
}
g_main_context_iteration (NULL, FALSE);
}
GdkRegion *
@ -2907,7 +2905,8 @@ gdk_event_translate (MSG *msg,
((GdkWindowObject *) window)->resize_count -= 1;
handle_configure_event (msg, window);
g_main_context_iteration (NULL, FALSE);
/* Dispatch main loop - to realize resizes... */
handle_stuff_while_moving_or_resizing ();