parent
4622cde7b7
commit
bb853660cf
|
@ -486,14 +486,7 @@ void cmd_move_con_to_workspace_number(I3_CMD, char *which) {
|
||||||
child->num == parsed_num);
|
child->num == parsed_num);
|
||||||
|
|
||||||
if (!workspace) {
|
if (!workspace) {
|
||||||
y(map_open);
|
workspace = workspace_get(which, NULL);
|
||||||
ystr("success");
|
|
||||||
y(bool, false);
|
|
||||||
ystr("error");
|
|
||||||
// TODO: better error message
|
|
||||||
ystr("No such workspace");
|
|
||||||
y(map_close);
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
HANDLE_EMPTY_MATCH;
|
HANDLE_EMPTY_MATCH;
|
||||||
|
|
Loading…
Reference in New Issue