|
|
@ -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;
|
|
|
|