summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog12
-rw-r--r--src/display.c1
-rw-r--r--src/ui.h3
-rw-r--r--src/window.c3
4 files changed, 17 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 58c51aeb..6e3fa772 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
2003-09-30 Havoc Pennington <hp@redhat.com>
+ * 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 <hp@redhat.com>
+
* src/testasyncgetprop.c: remove nonstandard header include,
#121870
diff --git a/src/display.c b/src/display.c
index d9396b42..29a000e0 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 bdbb8146..ca8240ec 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -29,6 +29,9 @@
#include <glib.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
+/* 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 ec064249..9bb5b3e5 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);
}