TODO list, in order of importance:
+ * Implement moving windows to other workspaces (see src/command.c)
+ * When at the edge of a screen and wanting to change into the direction of the edge,
+ i3 should switch to the next screen (if any) in this direction.
* document stuff!
* more documentation!
* debian package
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 */
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')