From: mihaicmn Date: Mon, 28 Nov 2016 21:07:45 +0000 (+0200) Subject: Use the DPI setting within the i3-config-wizard and i3-nagbar (#2585) X-Git-Tag: 4.14~86 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f25c3d5e77f410305efeed97da5ac9adb25491f3;p=i3%2Fi3 Use the DPI setting within the i3-config-wizard and i3-nagbar (#2585) --- diff --git a/i3-config-wizard/main.c b/i3-config-wizard/main.c index 2bb43270..9e851c06 100644 --- a/i3-config-wizard/main.c +++ b/i3-config-wizard/main.c @@ -854,6 +854,7 @@ int main(int argc, char *argv[]) { xcb_numlock_mask = get_mod_mask_for(XCB_NUM_LOCK, symbols, modmap_reply); + init_dpi(); font = load_font(pattern, true); bold_font = load_font(patternbold, true); diff --git a/i3-nagbar/main.c b/i3-nagbar/main.c index 2e9e77d4..b9f27a87 100644 --- a/i3-nagbar/main.c +++ b/i3-nagbar/main.c @@ -468,6 +468,7 @@ int main(int argc, char *argv[]) { color_border_bottom = draw_util_hex_to_color("#ab7100"); } + init_dpi(); font = load_font(pattern, true); set_font(&font);