Update TODO, fix parsing in commandmode for moving windows to workspaces vs. switching
This commit is contained in:
@ -386,10 +386,6 @@ void parse_command(xcb_connection_t *conn, const char *command) {
|
||||
printf("Invalid command (\"%s\")\n", command);
|
||||
return;
|
||||
}
|
||||
if (*rest == 'm' || *rest == 's') {
|
||||
action = (*rest == 'm' ? ACTION_MOVE : ACTION_SNAP);
|
||||
rest++;
|
||||
}
|
||||
|
||||
if (*rest == '\0') {
|
||||
/* No rest? This was a tag number, not a times specification */
|
||||
@ -397,6 +393,11 @@ void parse_command(xcb_connection_t *conn, const char *command) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (*rest == 'm' || *rest == 's') {
|
||||
action = (*rest == 'm' ? ACTION_MOVE : ACTION_SNAP);
|
||||
rest++;
|
||||
}
|
||||
|
||||
/* Now perform action to <where> */
|
||||
while (*rest != '\0') {
|
||||
if (*rest == 'h')
|
||||
|
Reference in New Issue
Block a user