summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-11-15 09:01:42 -0500
committerKristian Høgsberg <krh@bitplanet.net>2011-11-15 09:02:24 -0500
commitfc32c394e77edcf762347793e6b7acca3631d9d9 (patch)
tree82695051078a5cbcf5bb3fed4e0f814d4f70c4fc
parent668dd56918f47c5753ab51b151ea8237647171bb (diff)
config: Don't print warning when XDG_CONFIG_HOME isn't set
According to the spec, it's ok for this not to be set and just means that we should default to $HOME/.config.
-rw-r--r--clients/config.c3
-rw-r--r--clients/desktop-shell.c2
2 files changed, 0 insertions, 5 deletions
diff --git a/clients/config.c b/clients/config.c
index 42acee7..f5319eb 100644
--- a/clients/config.c
+++ b/clients/config.c
@@ -147,9 +147,6 @@ config_file_path(const char *name)
config_dir = getenv("XDG_CONFIG_HOME");
if (!config_dir) {
- fprintf(stderr, "XDG_CONFIG_HOME is not set,"
- " falling back to $HOME/.config\n");
-
home_dir = getenv("HOME");
if (!home_dir) {
fprintf(stderr, "HOME is not set, using cwd.\n");
diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c
index 89c8a75..d1b1d7d 100644
--- a/clients/desktop-shell.c
+++ b/clients/desktop-shell.c
@@ -370,8 +370,6 @@ int main(int argc, char *argv[])
&desktop);
free(config_file);
- printf("panel color: %08x\n", key_panel_color);
-
desktop_shell_set_panel(desktop.shell,
window_get_wl_surface(desktop.panel->window));