[mutter/wayland] Disable clutter's high dpi scaling
- From: Adel Gadllah <agadllah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] Disable clutter's high dpi scaling
- Date: Sun, 9 Feb 2014 15:26:02 +0000 (UTC)
commit 0c7a7d75275dddae58918c154cb50985c0a27e5a
Author: Adel Gadllah <adel gadllah gmail com>
Date: Sun Feb 9 16:25:37 2014 +0100
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 | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/core/main.c b/src/core/main.c
index 82ae483..d474ef2 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -455,6 +455,13 @@ meta_init (void)
*/
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);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]