output: Set output mode during main commit

Removes duplication across all the backends to finally apply the mode
to the output.
This commit is contained in:
Alexander Orzechowski 2023-06-26 18:02:02 -04:00
parent 530e58b96e
commit 8243399385
5 changed files with 14 additions and 21 deletions

View file

@ -27,7 +27,6 @@ static bool output_set_custom_mode(struct wlr_headless_output *output,
output->frame_delay = 1000000 / refresh;
wlr_output_update_custom_mode(&output->wlr_output, width, height, refresh);
return true;
}