cleanup layout.c

master
Tony Crisci 7 years ago
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…
Cancel
Save