- `shift left|right|up|down` — Exchange the current window with the given neighbor.
-- `swap [--swap-focus|--keep-focus]` — Swap the focused window with the last focused window.
+- `swap [--keep-focus]` — Swap the focused window with the last focused window.
- `push left|right|up|down` — Push the fence located in the given direction.
.BI shift " left|right|up|down"
Exchange the current window with the given neighbor.
.TP
-.BI swap " [--swap-focus|--keep-focus]"
+.BI swap " [--keep-focus]"
Swap the focused window with the last focused window.
.TP
.BI push " left|right|up|down"
bool parse_swap_option(char *s, swap_option_t *o)
{
- if (s == NULL || strcmp(s, "--swap-focus") == 0) {
+ if (s == NULL) {
*o = SWAP_OPTION_SWAP_FOCUS;
return true;
} else if (strcmp(s, "--keep-focus") == 0) {