diff options
author | Simon Ser <contact@emersion.fr> | 2023-04-05 12:14:14 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-04-06 16:35:21 +0200 |
commit | e8fb7f53b81fd3fc5d81f4e0f43d20499940e0fd (patch) | |
tree | 5e3bfbb7d888a987fe674c15e61f2405731b24eb /sway/desktop/output.c | |
parent | Fix damage-ring bounds not being set when unplugging -> plugging in monitor (diff) | |
download | sway-e8fb7f53b81fd3fc5d81f4e0f43d20499940e0fd.tar.gz sway-e8fb7f53b81fd3fc5d81f4e0f43d20499940e0fd.tar.zst sway-e8fb7f53b81fd3fc5d81f4e0f43d20499940e0fd.zip |
Remove duplicate wlr_damage_ring_set_bounds() call
We already do this in handle_commit().
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 5 |
1 files changed, 0 insertions, 5 deletions
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) { | |||
884 | arrange_output(output); | 884 | arrange_output(output); |
885 | transaction_commit_dirty(); | 885 | transaction_commit_dirty(); |
886 | 886 | ||
887 | int width, height; | ||
888 | wlr_output_transformed_resolution(output->wlr_output, &width, &height); | ||
889 | wlr_damage_ring_set_bounds(&output->damage_ring, width, height); | ||
890 | wlr_output_schedule_frame(output->wlr_output); | ||
891 | |||
892 | update_output_manager_config(output->server); | 887 | update_output_manager_config(output->server); |
893 | } | 888 | } |
894 | 889 | ||