summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/window.c6
-rw-r--r--src/include/common.h1
2 files changed, 4 insertions, 3 deletions
diff --git a/src/core/window.c b/src/core/window.c
index 6879128e..cb5b76dd 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -1734,9 +1734,9 @@ meta_window_queue (MetaWindow *window, guint queuebits)
const gint window_queue_idle_priority[NUMBER_OF_QUEUES] =
{
- G_PRIORITY_DEFAULT_IDLE, /* CALC_SHOWING */
- META_PRIORITY_RESIZE, /* MOVE_RESIZE */
- G_PRIORITY_DEFAULT_IDLE /* UPDATE_ICON */
+ META_PRIORITY_BEFORE_REDRAW, /* CALC_SHOWING */
+ META_PRIORITY_RESIZE, /* MOVE_RESIZE */
+ META_PRIORITY_BEFORE_REDRAW /* UPDATE_ICON */
};
const GSourceFunc window_queue_idle_handler[NUMBER_OF_QUEUES] =
diff --git a/src/include/common.h b/src/include/common.h
index 1ccc3f7e..711108a7 100644
--- a/src/include/common.h
+++ b/src/include/common.h
@@ -205,6 +205,7 @@ typedef enum
/* #define GTK_PRIORITY_RESIZE (G_PRIORITY_HIGH_IDLE + 10) */
#define META_PRIORITY_RESIZE (G_PRIORITY_HIGH_IDLE + 15)
/* #define GDK_PRIORITY_REDRAW (G_PRIORITY_HIGH_IDLE + 20) */
+#define META_PRIORITY_BEFORE_REDRAW (G_PRIORITY_HIGH_IDLE + 30)
#define META_PRIORITY_REDRAW (G_PRIORITY_HIGH_IDLE + 40)
#define META_PRIORITY_PREFS_NOTIFY (G_PRIORITY_DEFAULT_IDLE + 10)