]> git.sur5r.net Git - i3/i3/blobdiff - i3bar/src/main.c
ipc: rename COMMAND to RUN_COMMAND for consistency (#2956)
[i3/i3] / i3bar / src / main.c
index 14e42a2bf425f9ec72a4689905ed0b145e9efc37..910e952482f0d788b46747ac0b9bab396242f7c5 100644 (file)
@@ -5,6 +5,8 @@
  * © 2010 Axel Wagner and contributors (see also: LICENSE)
  *
  */
+#include "common.h"
+
 #include <stdio.h>
 #include <i3/ipc.h>
 #include <string.h>
@@ -15,8 +17,6 @@
 #include <getopt.h>
 #include <glob.h>
 
-#include "common.h"
-
 /*
  * Having verboselog(), errorlog() and debuglog() is necessary when using libi3.
  *
@@ -149,6 +149,8 @@ int main(int argc, char **argv) {
         socket_path = expand_path(i3_default_sock_path);
     }
 
+    init_dpi();
+
     init_outputs();
     if (init_connection(socket_path)) {
         /* Request the bar configuration. When it arrives, we fill the config array. */