mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
fix build for latest api
This commit is contained in:
commit
083e11ac7c
8 changed files with 51 additions and 47 deletions
|
|
@ -461,6 +461,8 @@ static swayc_t *get_swayc_in_direction_under(swayc_t *container,
|
|||
int desired;
|
||||
int idx = index_child(container);
|
||||
if (parent->type == C_ROOT) {
|
||||
// TODO
|
||||
/*
|
||||
struct wlr_output_layout *layout = root_container.sway_root->output_layout;
|
||||
wlr_output_layout_adjacent_output(layout, container->sway_output->wlr_output);
|
||||
//swayc_t *output = swayc_adjacent_output(container, dir, &abs_pos, true);
|
||||
|
|
@ -469,6 +471,7 @@ static swayc_t *get_swayc_in_direction_under(swayc_t *container,
|
|||
}
|
||||
wlr_log(L_DEBUG, "Moving between outputs");
|
||||
return get_swayc_in_output_direction(output, dir, seat);
|
||||
*/
|
||||
} else {
|
||||
if (dir == MOVE_LEFT || dir == MOVE_RIGHT) {
|
||||
if (parent->layout == L_HORIZ || parent->layout == L_TABBED) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue