mirror of
https://github.com/swaywm/sway.git
synced 2025-11-15 06:59:50 -05:00
Implement focus child command
The `focus child` command focuses the child container within the selected container.
This commit is contained in:
parent
6d2b455727
commit
88b7cbe314
5 changed files with 12 additions and 5 deletions
|
|
@ -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 ?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue