userguide: Mention know issues for assign (#3434)

Fixes #3222
Fixes #3293
Related to #2060
This commit is contained in:
Orestis
2018-10-07 21:24:09 +03:00
committed by Michael Stapelberg
parent 5720ba65ab
commit 18dbfe699a
2 changed files with 27 additions and 8 deletions

View File

@ -406,6 +406,11 @@ CFGFUN(assign_output, const char *output) {
return;
}
if (current_match->window_mode != WM_ANY) {
ELOG("Assignments using window mode (floating/tiling) is not supported\n");
return;
}
DLOG("New assignment, using above criteria, to output \"%s\".\n", output);
Assignment *assignment = scalloc(1, sizeof(Assignment));
match_copy(&(assignment->match), current_match);
@ -420,6 +425,11 @@ CFGFUN(assign, const char *workspace, bool is_number) {
return;
}
if (current_match->window_mode != WM_ANY) {
ELOG("Assignments using window mode (floating/tiling) is not supported\n");
return;
}
if (is_number && ws_name_to_number(workspace) == -1) {
ELOG("Could not parse initial part of \"%s\" as a number.\n", workspace);
return;