mirror of
https://github.com/swaywm/sway.git
synced 2025-01-07 08:31:18 +00:00
cleanup layout.c
This commit is contained in:
parent
083e11ac7c
commit
780d9fe1e3
|
@ -373,8 +373,7 @@ static swayc_t *get_swayc_in_output_direction(swayc_t *output,
|
|||
// get most left child of new output
|
||||
return ws->children->items[0];
|
||||
case MOVE_UP:
|
||||
case MOVE_DOWN:
|
||||
{
|
||||
case MOVE_DOWN: {
|
||||
swayc_t *focused = sway_seat_get_focus_inactive(seat, ws);
|
||||
if (focused && focused->parent) {
|
||||
swayc_t *parent = focused->parent;
|
||||
|
|
Loading…
Reference in a new issue