summaryrefslogtreecommitdiffstats
path: root/sway/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/layout.c')
-rw-r--r--sway/layout.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/layout.c b/sway/layout.c
index f10e21bd..a7206e9a 100644
--- a/sway/layout.c
+++ b/sway/layout.c
@@ -1123,6 +1123,9 @@ swayc_t *get_swayc_in_direction_under(swayc_t *container, enum movement_directio
1123 } else { 1123 } else {
1124 wrap_candidate = parent->children->items[0]; 1124 wrap_candidate = parent->children->items[0];
1125 } 1125 }
1126 if (config->force_focus_wrapping) {
1127 return wrap_candidate;
1128 }
1126 } 1129 }
1127 } else { 1130 } else {
1128 return parent->children->items[desired]; 1131 return parent->children->items[desired];