diff options
-rw-r--r-- | src/compositor/meta-compositor-xrender.c | 2 | ||||
-rw-r--r-- | src/include/common.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/compositor/meta-compositor-xrender.c b/src/compositor/meta-compositor-xrender.c index a4076381..3f314c87 100644 --- a/src/compositor/meta-compositor-xrender.c +++ b/src/compositor/meta-compositor-xrender.c @@ -1848,7 +1848,7 @@ add_repair (MetaCompositorXRender *xrender) return; #if 1 - xrender->repaint_id = g_idle_add_full (G_PRIORITY_HIGH_IDLE, + xrender->repaint_id = g_idle_add_full (META_PRIORITY_REDRAW, compositor_idle_cb, xrender, NULL); #else diff --git a/src/include/common.h b/src/include/common.h index ad03176a..1ccc3f7e 100644 --- a/src/include/common.h +++ b/src/include/common.h @@ -202,8 +202,10 @@ typedef enum #define META_DEFAULT_ICON_NAME "window" -/* This is between GTK_PRIORITY_RESIZE (+10) and GDK_PRIORITY_REDRAW (+20) */ +/* #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_REDRAW (G_PRIORITY_HIGH_IDLE + 40) #define META_PRIORITY_PREFS_NOTIFY (G_PRIORITY_DEFAULT_IDLE + 10) #define META_PRIORITY_WORK_AREA_HINT (G_PRIORITY_DEFAULT_IDLE + 15) |