improve error messages for i3-internal workspace names

This commit is contained in:
Michael Stapelberg
2014-05-03 15:02:51 +02:00
parent dba8c91eff
commit ff94d28b85
2 changed files with 4 additions and 4 deletions

View File

@ -143,7 +143,7 @@ Con *create_workspace_on_output(Output *output, Con *content) {
if (*target == '"')
target++;
if (strncasecmp(target, "__", strlen("__")) == 0) {
LOG("Cannot create workspace. '__' is a reserved prefix.\n");
LOG("Cannot create workspace \"%s\". Names starting with __ are i3-internal.\n", target);
continue;
}
FREE(ws->name);