diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-06-26 20:14:51 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-06-26 20:14:51 +0200 |
commit | 3556f6519800938883d1fb1a36e20b92e91e0b4f (patch) | |
tree | 93d4c3238e2340ec561978171f94c2a3005e45b2 | |
parent | ee9f5f71c13bc8fc134bbc70052c4f8537e54a87 (diff) |
Update DPI value once auto-detected.
-rw-r--r-- | source/view.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/view.c b/source/view.c index eb534099..14755500 100644 --- a/source/view.c +++ b/source/view.c @@ -711,6 +711,7 @@ void __create_window ( MenuFlags menu_flags ) g_debug ( "Auto-detected DPI: %.2lf", dpi ); PangoFontMap *font_map = pango_cairo_font_map_get_default (); pango_cairo_font_map_set_resolution ( (PangoCairoFontMap *) font_map, dpi ); + config.dpi = dpi; } // Setup font. // Dummy widget. |