Don't set clutters 'window-scaling-factor' property
It doesn't exist anymore. https://bugzilla.gnome.org/show_bug.cgi?id=777732
This commit is contained in:
parent
44e80f4c46
commit
32ea7d763a
@ -68,7 +68,6 @@ main(int argc, char **argv)
|
|||||||
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
|
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
|
||||||
return 1;
|
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);
|
gdk_x11_display_set_window_scale (gdk_display_get_default (), 1);
|
||||||
|
|
||||||
context = g_option_context_new (NULL);
|
context = g_option_context_new (NULL);
|
||||||
|
@ -858,7 +858,6 @@ update_scale_factor (GtkSettings *settings,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Make sure clutter and gdk scaling stays disabled */
|
/* 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);
|
gdk_x11_display_set_window_scale (gdk_display_get_default (), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user