]> git.sur5r.net Git - i3/i3/commitdiff
Use the DPI setting within the i3-config-wizard and i3-nagbar (#2585)
authormihaicmn <mihai.cmn@gmail.com>
Mon, 28 Nov 2016 21:07:45 +0000 (23:07 +0200)
committerMichael Stapelberg <stapelberg@users.noreply.github.com>
Mon, 28 Nov 2016 21:07:45 +0000 (22:07 +0100)
i3-config-wizard/main.c
i3-nagbar/main.c

index 2bb43270e32d02d637a026b80ea613a12ec41353..9e851c06f3f1b73e0ca7f6453b93e62034f0e320 100644 (file)
@@ -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);
 
index 2e9e77d490fe3af6e36c9383fc91880d40874d27..b9f27a87fabc928f9d8e323a46f41427c9aa6f92 100644 (file)
@@ -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);