From: Axel Wagner Date: Fri, 17 Sep 2010 01:04:40 +0000 (+0200) Subject: Make i3_default_sock_path a local variable X-Git-Tag: 4.0.1~7^2~61 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5deb95de33a7f4665ff9a7f312babca3109b7c83;p=i3%2Fi3 Make i3_default_sock_path a local variable --- 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;