mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 15:48:05 +02:00
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.
This commit is contained in:
parent
668dd56918
commit
fc32c394e7
2 changed files with 0 additions and 5 deletions
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue