mirror of
https://github.com/swaywm/sway.git
synced 2026-04-21 06:46:22 -04:00
Fix damage-ring bounds not being set
This commit is contained in:
parent
dee032d0a0
commit
3e19cb98b4
1 changed files with 4 additions and 0 deletions
|
|
@ -825,6 +825,10 @@ static void update_output_manager_config(struct sway_server *server) {
|
|||
config_head->state.x = output_box.x;
|
||||
config_head->state.y = output_box.y;
|
||||
}
|
||||
|
||||
int width, height;
|
||||
wlr_output_transformed_resolution(output->wlr_output, &width, &height);
|
||||
wlr_damage_ring_set_bounds(&output->damage_ring, width, height);
|
||||
}
|
||||
|
||||
wlr_output_manager_v1_set_configuration(server->output_manager_v1, config);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue