gnome-settings-daemon/gnome-settings-daemon-bnc427745-force-dpi.patch

13 lines
532 B
Diff

Index: gnome-settings-daemon-2.23.92/plugins/xsettings/gsd-xsettings-manager.c
===================================================================
--- gnome-settings-daemon-2.23.92.orig/plugins/xsettings/gsd-xsettings-manager.c
+++ gnome-settings-daemon-2.23.92/plugins/xsettings/gsd-xsettings-manager.c
@@ -280,6 +280,7 @@ get_dpi_from_gconf_or_x_server (GConfCli
gconf_value_free (value);
} else {
dpi = get_dpi_from_x_server ();
+ dpi = DPI_FALLBACK;
}
return dpi;