From 1d5071ebbe93b3c37529550d452988530cedcd8f Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 20 Jan 2012 22:29:10 +0000 Subject: [PATCH] i3bar: ignore the "socket_path" config option (redundant anyway) --- i3bar/src/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")) {