Commit 120207f1 authored by o9000's avatar o9000

Fix regression in cli handling

parent ceb6a442
......@@ -1300,6 +1300,8 @@ void add_entry(char *key, char *value)
gboolean config_read_file(const char *path)
{
fprintf(stderr, "Loading config file: %s\n", path);
FILE *fp = fopen(path, "r");
if (!fp)
return FALSE;
......
......@@ -133,7 +133,6 @@ void start_detect_compositor()
void create_default_elements()
{
default_config();
default_timeout();
default_systray();
memset(&server, 0, sizeof(server));
......@@ -212,6 +211,7 @@ void init(int argc, char **argv)
{
setlinebuf(stdout);
setlinebuf(stderr);
default_config();
handle_cli_arguments(argc, argv);
create_default_elements();
init_signals();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment