summaryrefslogtreecommitdiffstats
path: root/sway/focus.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-07-28 07:26:37 -0400
committerLibravatar GitHub <noreply@github.com>2016-07-28 07:26:37 -0400
commitee67c5bee34c4a98f8df3db68e92eaa55f1d579d (patch)
tree42bb6aced0f15f2d3f5ae4f5da02c1a9d6083dac /sway/focus.c
parentMerge pull request #792 from acrisci/feature/render-focused-stack-children-fo... (diff)
parentImplement `focus child` command (diff)
downloadsway-575aee5115acc7aa03dc835369221419bf9ab311.tar.gz
sway-575aee5115acc7aa03dc835369221419bf9ab311.tar.zst
sway-575aee5115acc7aa03dc835369221419bf9ab311.zip
Merge pull request #791 from acrisci/feature/focus-child0.9-rc1
Implement `focus child` command
Diffstat (limited to 'sway/focus.c')
-rw-r--r--sway/focus.c2
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 ?