$OpenBSD: patch-src_config_c,v 1.12 2013/08/13 10:01:56 dcoppa Exp $
--- src/config.c.orig	Wed Aug  7 20:50:24 2013
+++ src/config.c	Mon Aug 12 15:19:02 2013
@@ -299,7 +299,7 @@ static char *get_config_path(const char *override_conf
 
     /* 4: check for $XDG_CONFIG_DIRS/i3/config */
     if ((xdg_config_dirs = getenv("XDG_CONFIG_DIRS")) == NULL)
-        xdg_config_dirs = "/etc/xdg";
+        xdg_config_dirs = "${SYSCONFDIR}/xdg";
 
     char *buf = sstrdup(xdg_config_dirs);
     char *tok = strtok(buf, ":");
