]> git.sur5r.net Git - i3/i3/blobdiff - i3-config-wizard/main.c
Use the DPI setting within the i3-config-wizard and i3-nagbar (#2585)
[i3/i3] / i3-config-wizard / main.c
index 284f15fa2635276f5706e7496855b006c5fd774d..9e851c06f3f1b73e0ca7f6453b93e62034f0e320 100644 (file)
@@ -8,6 +8,8 @@
  *                   keysyms.
  *
  */
+#include <config.h>
+
 #if defined(__FreeBSD__)
 #include <sys/param.h>
 #endif
@@ -852,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);