GNOME Bugzilla – Bug 771349
gdk_screen_get_monitor_scale_factor on X11 always returns 1 with GTK 3.21+
Last modified: 2016-09-14 10:45:51 UTC
Firefox cannot respect scale setting with GTK 3.21+. (https://bugzilla.mozilla.org/show_bug.cgi?id=1299897) When I am investigating this, I found the regression. The following changeset removes gdk_screen_get_monitor_scale_factor's X11 implementation. commit d92fda2103bc79043465b5218323a14edd05183e Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Apr 3 00:12:39 2016 -0400 x11: Port to new monitor api Please add get_monitor_scale_factor for X11 backend again.
Or emulate gdk_screen_get_monitor_scale_factor using gdk_display_get_monitor and gdk_monitor_get_scale_factor...
Created attachment 335442 [details] [review] Implement gdk_screen_get_monitor_scale_factor generically This was forgotten when the other screen monitor apis were ported to GdkMonitor.
Attachment 335442 [details] pushed as 21bdf61 - Implement gdk_screen_get_monitor_scale_factor generically