From 66e82a68fc9d3264413a9d7b54813143ada61d20 Mon Sep 17 00:00:00 2001 From: taiyu Date: Wed, 19 Aug 2015 20:28:05 -0700 Subject: small fix --- sway/focus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/focus.c') diff --git a/sway/focus.c b/sway/focus.c index 1dbac003..48017fdf 100644 --- a/sway/focus.c +++ b/sway/focus.c @@ -57,7 +57,7 @@ bool move_focus(enum movement_direction direction) { swayc_t *view = get_swayc_in_direction( get_focused_container(&root_container), direction); if (view) { - set_focused_container(view); + set_focused_container(get_focused_view(view)); return true; } return false; -- cgit v1.2.3