mirror of
https://github.com/NickHu/sway
synced 2024-12-26 21:58:30 +01:00
Remove duplicate wlr_damage_ring_set_bounds() call
We already do this in handle_commit().
This commit is contained in:
parent
fa7b686e61
commit
e8fb7f53b8
1 changed files with 0 additions and 5 deletions
|
@ -884,11 +884,6 @@ static void handle_mode(struct sway_output *output) {
|
|||
arrange_output(output);
|
||||
transaction_commit_dirty();
|
||||
|
||||
int width, height;
|
||||
wlr_output_transformed_resolution(output->wlr_output, &width, &height);
|
||||
wlr_damage_ring_set_bounds(&output->damage_ring, width, height);
|
||||
wlr_output_schedule_frame(output->wlr_output);
|
||||
|
||||
update_output_manager_config(output->server);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue