diff --git a/src/tree.c b/src/tree.c index 710bb655..f87c4326 100644 --- a/src/tree.c +++ b/src/tree.c @@ -565,10 +565,8 @@ static bool _tree_next(Con *con, char way, orientation_t orientation, bool wrap) focus = con_descend_focused(workspace); } - if (focus) { - con_focus(focus); - x_set_warp_to(&(focus->rect)); - } + con_focus(focus); + x_set_warp_to(&(focus->rect)); return true; }