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