rebase/formatting

This commit is contained in:
elviosak 2025-12-04 09:14:10 -03:00
parent cb6b2d9cda
commit 1e7f3db14e

View file

@ -182,19 +182,19 @@ find_adjacent_edges(struct seat *seat, struct output *output)
return adjacent; return adjacent;
} }
if (wlr_output_layout_adjacent_output(seat->server->output_layout, WLR_DIRECTION_UP, if (wlr_output_layout_adjacent_output(seat->server->output_layout, WLR_DIRECTION_UP,
output->wlr_output, output->usable_area.x, output->usable_area.y)) { output->wlr_output, output->usable_area.x, output->usable_area.y)) {
adjacent |= LAB_EDGE_TOP; adjacent |= LAB_EDGE_TOP;
} }
if (wlr_output_layout_adjacent_output(seat->server->output_layout, WLR_DIRECTION_DOWN, if (wlr_output_layout_adjacent_output(seat->server->output_layout, WLR_DIRECTION_DOWN,
output->wlr_output, output->usable_area.x, output->usable_area.y)) { output->wlr_output, output->usable_area.x, output->usable_area.y)) {
adjacent |= LAB_EDGE_BOTTOM; adjacent |= LAB_EDGE_BOTTOM;
} }
if (wlr_output_layout_adjacent_output(seat->server->output_layout, WLR_DIRECTION_LEFT, if (wlr_output_layout_adjacent_output(seat->server->output_layout, WLR_DIRECTION_LEFT,
output->wlr_output, output->usable_area.x, output->usable_area.y)) { output->wlr_output, output->usable_area.x, output->usable_area.y)) {
adjacent |= LAB_EDGE_LEFT; adjacent |= LAB_EDGE_LEFT;
} }
if (wlr_output_layout_adjacent_output(seat->server->output_layout, WLR_DIRECTION_RIGHT, if (wlr_output_layout_adjacent_output(seat->server->output_layout, WLR_DIRECTION_RIGHT,
output->wlr_output, output->usable_area.x, output->usable_area.y)) { output->wlr_output, output->usable_area.x, output->usable_area.y)) {
adjacent |= LAB_EDGE_RIGHT; adjacent |= LAB_EDGE_RIGHT;
} }
return adjacent; return adjacent;