small fix

This commit is contained in:
taiyu 2015-08-19 20:28:05 -07:00
parent 5ff0619ca1
commit 66e82a68fc

View file

@ -57,7 +57,7 @@ bool move_focus(enum movement_direction direction) {
swayc_t *view = get_swayc_in_direction( swayc_t *view = get_swayc_in_direction(
get_focused_container(&root_container), direction); get_focused_container(&root_container), direction);
if (view) { if (view) {
set_focused_container(view); set_focused_container(get_focused_view(view));
return true; return true;
} }
return false; return false;