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 | Merge pull request #792 from acrisci/feature/render-focused-stack-children-fo... (diff) | |
parent | Implement `focus child` command (diff) | |
download | sway-0.9-rc1.tar.gz sway-0.9-rc1.tar.zst sway-0.9-rc1.zip |
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) { | |||
72 | return false; | 72 | return false; |
73 | } else if (new_view->type == C_OUTPUT) { | 73 | } else if (new_view->type == C_OUTPUT) { |
74 | return set_focused_container(swayc_active_workspace_for(new_view)); | 74 | return set_focused_container(swayc_active_workspace_for(new_view)); |
75 | } else if (direction == MOVE_PARENT) { | 75 | } else if (direction == MOVE_PARENT || direction == MOVE_CHILD) { |
76 | return set_focused_container(new_view); | 76 | return set_focused_container(new_view); |
77 | } else if (config->mouse_warping) { | 77 | } else if (config->mouse_warping) { |
78 | swayc_t *old_op = old_view->type == C_OUTPUT ? | 78 | swayc_t *old_op = old_view->type == C_OUTPUT ? |