struct wlr_box pos = {0};
wlr_output_layout_get_box(server->output_layout, o, &pos);
if (pos.x != head->state.x || pos.y != head->state.y) {
- /* This overrides the automatic layout */
- wlr_output_layout_move(server->output_layout, o,
+ /*
+ * This overrides the automatic layout
+ *
+ * wlr_output_layout_add() in fact means _move()
+ */
+ wlr_output_layout_add(server->output_layout, o,
head->state.x, head->state.y);
}
}
[wrap-git]
url = https://gitlab.freedesktop.org/wlroots/wlroots.git
-revision = e7c556fcf61eb3121d741cd4da526b2619862678
+revision = 097ea84cda70a71ad8ea5940b3b3d277167424e5
[provide]
dependency_names = wlroots