From 45ff615b46c30dbf976447322dbec3e62da0d6de Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Sun, 9 Feb 2014 16:00:05 +0100 Subject: [PATCH] Disable clutter's high dpi scaling mutter needs some work to work with high dpi scaling so disable the scaling until that is fixed. https://bugzilla.gnome.org/show_bug.cgi?id=723931 --- src/core/main.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/core/main.c b/src/core/main.c index 2c8bc8397..6246d8ec3 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -384,6 +384,7 @@ meta_init (void) struct sigaction act; sigset_t empty_mask; GIOChannel *channel; + ClutterSettings *clutter_settings; sigemptyset (&empty_mask); act.sa_handler = SIG_IGN; @@ -447,6 +448,13 @@ meta_init (void) * Clutter can only be initialized after the UI. */ meta_clutter_init (); + + /* + * XXX: We cannot handle high dpi scaling yet, so fix the scale to 1 + * for now. + */ + clutter_settings = clutter_settings_get_default (); + g_object_set (clutter_settings, "window-scaling-factor", 1, NULL); } /**