diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-07-28 07:26:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-28 07:26:37 -0400 |
commit | ee67c5bee34c4a98f8df3db68e92eaa55f1d579d (patch) | |
tree | 42bb6aced0f15f2d3f5ae4f5da02c1a9d6083dac /sway/focus.c | |
parent | d03266a77a3a07a8a7488bb425410a87a658d9b0 (diff) | |
parent | 88b7cbe314aaefc9cc96884a655a2d9aea84ee0a (diff) |
Merge pull request #791 from acrisci/feature/focus-child
Implement `focus child` command
Diffstat (limited to 'sway/focus.c')
-rw-r--r-- | sway/focus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/focus.c b/sway/focus.c index c7737a1d..0f629e1e 100644 --- a/sway/focus.c +++ b/sway/focus.c @@ -72,7 +72,7 @@ bool move_focus(enum movement_direction direction) { return false; } else if (new_view->type == C_OUTPUT) { return set_focused_container(swayc_active_workspace_for(new_view)); - } else if (direction == MOVE_PARENT) { + } else if (direction == MOVE_PARENT || direction == MOVE_CHILD) { return set_focused_container(new_view); } else if (config->mouse_warping) { swayc_t *old_op = old_view->type == C_OUTPUT ? |