update for wlroots!3627
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3627
This commit is contained in:
parent
27ab9cf1b1
commit
02c257e0b1
2
dwl.c
2
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
|
/* Don't move monitors if position wouldn't change, this to avoid
|
||||||
* wlroots marking the output as manually configured */
|
* wlroots marking the output as manually configured */
|
||||||
if (m->m.x != config_head->state.x || m->m.y != config_head->state.y)
|
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);
|
config_head->state.x, config_head->state.y);
|
||||||
wlr_output_set_transform(wlr_output, config_head->state.transform);
|
wlr_output_set_transform(wlr_output, config_head->state.transform);
|
||||||
wlr_output_set_scale(wlr_output, config_head->state.scale);
|
wlr_output_set_scale(wlr_output, config_head->state.scale);
|
||||||
|
Loading…
Reference in New Issue
Block a user