From 5deb95de33a7f4665ff9a7f312babca3109b7c83 Mon Sep 17 00:00:00 2001 From: Axel Wagner Date: Fri, 17 Sep 2010 03:04:40 +0200 Subject: [PATCH] Make i3_default_sock_path a local variable --- i3bar/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3bar/src/main.c b/i3bar/src/main.c index 5afda241..07dcf5b9 100644 --- a/i3bar/src/main.c +++ b/i3bar/src/main.c @@ -18,7 +18,6 @@ #include "common.h" -char *i3_default_sock_path = "~/.i3/ipc.sock"; char *expand_path(char *path) { static glob_t globbuf; @@ -52,6 +51,7 @@ int main(int argc, char **argv) { char *socket_path = NULL; char *command = NULL; char *fontname = NULL; + char *i3_default_sock_path = "~/.i3/ipc.sock"; /* Definition of the standard-config */ config.hide_on_modifier = 0; -- 2.39.5