aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/layout.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-02-14 15:08:10 -0500
committerTony Crisci <tony@dubstepdish.com>2018-02-14 15:08:10 -0500
commit083e11ac7c03167d88b4f7532e5311d460e799e2 (patch)
tree3cc0b6a72f4fa4dfd5d6f58bcd23831b74f19bcf /sway/tree/layout.c
parent946d9459c57fc38b2536d40a45b7d4c9186b6734 (diff)
parentc6cb87be19dba185e32af59e1e7fd1217a15c08b (diff)
fix build for latest api
Diffstat (limited to 'sway/tree/layout.c')
-rw-r--r--sway/tree/layout.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c
index 9768279a..205f42eb 100644
--- a/sway/tree/layout.c
+++ b/sway/tree/layout.c
@@ -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) {