From: Michael Stapelberg Date: Fri, 20 Jan 2012 22:29:10 +0000 (+0000) Subject: i3bar: ignore the "socket_path" config option (redundant anyway) X-Git-Tag: 4.2~132 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1d5071ebbe93b3c37529550d452988530cedcd8f;p=i3%2Fi3 i3bar: ignore the "socket_path" config option (redundant anyway) --- diff --git a/i3bar/src/config.c b/i3bar/src/config.c index 13a53518..69355b69 100644 --- a/i3bar/src/config.c +++ b/i3bar/src/config.c @@ -67,8 +67,8 @@ static int config_string_cb(void *params_, const unsigned char *val, size_t _len static int config_string_cb(void *params_, const unsigned char *val, unsigned int _len) { #endif int len = (int)_len; - /* The id is ignored, we already have it in config.bar_id */ - if (!strcmp(cur_key, "id")) + /* The id and socket_path are ignored, we already know them. */ + if (!strcmp(cur_key, "id") || !strcmp(cur_key, "socket_path")) return 1; if (!strcmp(cur_key, "mode")) {