[metacity/gnome-3-24] screen: change work area idle priority



commit b1a742b03b0480cd358071199b8d3ba76ea35509
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Mon Feb 27 16:43:16 2017 +0200

    screen: change work area idle priority

 src/core/screen.c    |    2 +-
 src/include/common.h |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/core/screen.c b/src/core/screen.c
index fd93933..404843c 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 711108a..3af0335 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 &&                   \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]