diff --git a/ChangeLog b/ChangeLog index 58c51aebe..6e3fa772e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2003-09-30 Havoc Pennington + + * src/window.c (meta_window_queue_move_resize): add the moveresize + idle at META_PRIORITY_RESIZE so it runs before GTK does any + drawing, may fix bug #109211 (seem to for me) + + * src/ui.h (META_PRIORITY_RESIZE): add this between GTK + resize/redraw priorities + + * src/display.c (meta_display_queue_retheme_all_windows): remove + some debug spew from meta_warning + 2003-09-30 Havoc Pennington * src/testasyncgetprop.c: remove nonstandard header include, diff --git a/src/display.c b/src/display.c index d9396b420..29a000e00 100644 --- a/src/display.c +++ b/src/display.c @@ -3237,7 +3237,6 @@ meta_display_queue_retheme_all_windows (MetaDisplay *display) { MetaWindow *window = tmp->data; - meta_warning("from retheme\n"); meta_window_queue_move_resize (window); if (window->frame) { diff --git a/src/ui.h b/src/ui.h index bdbb81465..ca8240ec3 100644 --- a/src/ui.h +++ b/src/ui.h @@ -29,6 +29,9 @@ #include #include +/* This is between GTK_PRIORITY_RESIZE and GTK_PRIORITY_REDRAW */ +#define META_PRIORITY_RESIZE (G_PRIORITY_HIGH_IDLE + 15) + typedef struct _MetaUI MetaUI; typedef struct _MetaImageWindow MetaImageWindow; diff --git a/src/window.c b/src/window.c index ec0642493..9bb5b3e5c 100644 --- a/src/window.c +++ b/src/window.c @@ -2882,7 +2882,8 @@ meta_window_queue_move_resize (MetaWindow *window) window->move_resize_queued = TRUE; if (move_resize_idle == 0) - move_resize_idle = g_idle_add (idle_move_resize, NULL); + move_resize_idle = g_idle_add_full (META_PRIORITY_RESIZE, + idle_move_resize, NULL, NULL); move_resize_pending = g_slist_prepend (move_resize_pending, window); }