mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Update output layout when scale or transform changes
This commit is contained in:
parent
808ab5aa1b
commit
3b4b8953d9
11 changed files with 38 additions and 15 deletions
|
|
@ -72,7 +72,7 @@ static void handle_output_add(struct output_state *ostate) {
|
|||
example_config_get_output(sample->config, ostate->output);
|
||||
|
||||
if (o_config) {
|
||||
wlr_output_transform(ostate->output, o_config->transform);
|
||||
wlr_output_set_transform(ostate->output, o_config->transform);
|
||||
wlr_output_layout_add(sample->layout, ostate->output, o_config->x,
|
||||
o_config->y);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue