Make path configurable

This commit is contained in:
Michael Stapelberg
2009-07-28 22:09:53 +02:00
parent c56dc0f966
commit e7bf93163d
4 changed files with 17 additions and 8 deletions

View File

@ -408,6 +408,11 @@ void load_configuration(xcb_connection_t *conn, const char *override_configpath,
continue;
}
if (strcasecmp(key, "ipc-socket") == 0) {
config.ipc_socket_path = sstrdup(value);
continue;
}
die("Unknown configfile option: %s\n", key);
}
/* now grab all keys again */