From f25c3d5e77f410305efeed97da5ac9adb25491f3 Mon Sep 17 00:00:00 2001 From: mihaicmn Date: Mon, 28 Nov 2016 23:07:45 +0200 Subject: [PATCH] Use the DPI setting within the i3-config-wizard and i3-nagbar (#2585) --- i3-config-wizard/main.c | 1 + i3-nagbar/main.c | 1 + 2 files changed, 2 insertions(+) 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); -- 2.39.5