aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/focus_wrapping.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/focus_wrapping.c')
-rw-r--r--sway/commands/focus_wrapping.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/commands/focus_wrapping.c b/sway/commands/focus_wrapping.c
index 3a74a3ea..d3901cb8 100644
--- a/sway/commands/focus_wrapping.c
+++ b/sway/commands/focus_wrapping.c
@@ -11,6 +11,8 @@ struct cmd_results *cmd_focus_wrapping(int argc, char **argv) {
if (strcasecmp(argv[0], "force") == 0) {
config->focus_wrapping = WRAP_FORCE;
+ } else if (strcasecmp(argv[0], "workspace") == 0) {
+ config->focus_wrapping = WRAP_WORKSPACE;
} else if (parse_boolean(argv[0], config->focus_wrapping == WRAP_YES)) {
config->focus_wrapping = WRAP_YES;
} else {