[gnome-shell] Don't set clutters 'window-scaling-factor' property
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Don't set clutters 'window-scaling-factor' property
- Date: Fri, 7 Apr 2017 14:33:36 +0000 (UTC)
commit 32ea7d763abbbf23cb1209edf7e543ee1b333ce3
Author: Jonas Ådahl <jadahl gmail com>
Date: Wed Mar 29 15:17:39 2017 +0800
Don't set clutters 'window-scaling-factor' property
It doesn't exist anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=777732
src/run-js-test.c | 1 -
src/shell-global.c | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/run-js-test.c b/src/run-js-test.c
index 5fb077c..172ec17 100644
--- a/src/run-js-test.c
+++ b/src/run-js-test.c
@@ -68,7 +68,6 @@ main(int argc, char **argv)
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
return 1;
- g_object_set (clutter_settings_get_default (), "window-scaling-factor", 1, NULL);
gdk_x11_display_set_window_scale (gdk_display_get_default (), 1);
context = g_option_context_new (NULL);
diff --git a/src/shell-global.c b/src/shell-global.c
index 3bfaba4..b195c6f 100644
--- a/src/shell-global.c
+++ b/src/shell-global.c
@@ -858,7 +858,6 @@ update_scale_factor (GtkSettings *settings,
}
/* Make sure clutter and gdk scaling stays disabled */
- g_object_set (clutter_settings_get_default (), "window-scaling-factor", 1, NULL);
gdk_x11_display_set_window_scale (gdk_display_get_default (), 1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]