diff --git a/src/desktop.c b/src/desktop.c index 3f29111b..7537faa2 100644 --- a/src/desktop.c +++ b/src/desktop.c @@ -150,13 +150,13 @@ desktop_cycle_view_near_region(struct server *server, struct view *active_view, LAB_VIEW_CRITERIA_CURRENT_WORKSPACE; struct view *cur; - struct wlr_box intersect; + struct wlr_box intersect; iter = view_prev_no_head_stop; cur = iter(&server->views, active_view, criteria); while (cur && cur != active_view) { - wlr_box_intersection(&intersect, &cur->current, ®ion->geo); + wlr_box_intersection(&intersect, &cur->current, ®ion->geo); if (!cur->minimized && !wlr_box_empty(&intersect)) { return cur; }