]> git.sur5r.net Git - i3/i3/blobdiff - i3bar/src/main.c
i3bar: free output data structures
[i3/i3] / i3bar / src / main.c
index be684fc5d1f32b935f994e876dd1a203718bdc37..069803d4f944289afac72323bf15acd8d24fae03 100644 (file)
@@ -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. */
@@ -180,7 +182,5 @@ int main(int argc, char **argv) {
     clean_xcb();
     ev_default_destroy();
 
-    free_workspaces();
-
     return 0;
 }