Warn on primary_monitor_first

This commit is contained in:
o9000
2017-09-01 18:06:56 +02:00
parent 120207f1f9
commit 61c61c8844

View File

@@ -1287,7 +1287,12 @@ void add_entry(char *key, char *value)
} }
} }
#endif #endif
else else if (strcmp(key, "primary_monitor_first") == 0) {
fprintf(stderr,
"tint2: deprecated config option \"%s\"\n"
" Please see the documentation regarding the alternatives.\n",
key);
} else
fprintf(stderr, "tint2: invalid option \"%s\",\n upgrade tint2 or correct your config file\n", key); fprintf(stderr, "tint2: invalid option \"%s\",\n upgrade tint2 or correct your config file\n", key);
if (value1) if (value1)