From e8fb7f53b81fd3fc5d81f4e0f43d20499940e0fd Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 5 Apr 2023 12:14:14 +0200 Subject: Remove duplicate wlr_damage_ring_set_bounds() call We already do this in handle_commit(). --- sway/desktop/output.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sway/desktop') diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 43cd70d0..5671ac59 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -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); } -- cgit v1.2.3