From b1a742b03b0480cd358071199b8d3ba76ea35509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= Date: Mon, 27 Feb 2017 16:43:16 +0200 Subject: screen: change work area idle priority --- src/core/screen.c | 2 +- src/include/common.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/screen.c b/src/core/screen.c index fd93933e..404843c1 100644 --- a/src/core/screen.c +++ b/src/core/screen.c @@ -2047,7 +2047,7 @@ meta_screen_queue_workarea_recalc (MetaScreen *screen) meta_topic (META_DEBUG_WORKAREA, "Adding work area hint idle function\n"); screen->work_area_idle = - g_idle_add_full (META_PRIORITY_WORK_AREA_HINT, + g_idle_add_full (META_PRIORITY_BEFORE_REDRAW, (GSourceFunc) set_work_area_idle_func, screen, NULL); diff --git a/src/include/common.h b/src/include/common.h index 711108a7..3af03351 100644 --- a/src/include/common.h +++ b/src/include/common.h @@ -209,7 +209,6 @@ typedef enum #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) #define POINT_IN_RECT(xcoord, ycoord, rect) \ ((xcoord) >= (rect).x && \ -- cgit v1.2.1