Make i3_default_sock_path a local variable

This commit is contained in:
Axel Wagner 2010-09-17 03:04:40 +02:00
parent 0e4487e489
commit 5deb95de33
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,6 @@
#include "common.h" #include "common.h"
char *i3_default_sock_path = "~/.i3/ipc.sock";
char *expand_path(char *path) { char *expand_path(char *path) {
static glob_t globbuf; static glob_t globbuf;
@ -52,6 +51,7 @@ int main(int argc, char **argv) {
char *socket_path = NULL; char *socket_path = NULL;
char *command = NULL; char *command = NULL;
char *fontname = NULL; char *fontname = NULL;
char *i3_default_sock_path = "~/.i3/ipc.sock";
/* Definition of the standard-config */ /* Definition of the standard-config */
config.hide_on_modifier = 0; config.hide_on_modifier = 0;