[metacity] screen: change work area idle priority
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] screen: change work area idle priority
- Date: Tue, 28 Feb 2017 01:53:49 +0000 (UTC)
commit d25ab33a8b19ad034582afe75179f83faf09f64e
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 c5578b1..1322e6f 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]