summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-12-05 20:21:38 -0600
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-12-05 20:21:38 -0600
commit02c257e0b163430401c87fc62937a454e883359b (patch)
tree70ce90df4251a9341c97e8e71d3e4a2fca37edea
parent27ab9cf1b1230e6e839a6a10eb85c670c59d6f9d (diff)
update for wlroots!3627
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3627
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index c9d79d9..0408951 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1580,7 +1580,7 @@ outputmgrapplyortest(struct wlr_output_configuration_v1 *config, int test)
/* Don't move monitors if position wouldn't change, this to avoid
* wlroots marking the output as manually configured */
if (m->m.x != config_head->state.x || m->m.y != config_head->state.y)
- wlr_output_layout_move(output_layout, wlr_output,
+ wlr_output_layout_add(output_layout, wlr_output,
config_head->state.x, config_head->state.y);
wlr_output_set_transform(wlr_output, config_head->state.transform);
wlr_output_set_scale(wlr_output, config_head->state.scale);