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

@ -74,8 +74,6 @@ static bool output_set_custom_mode(struct wlr_output *wlr_output,
return false;
}
wlr_output_update_custom_mode(&output->wlr_output, width, height, 0);
// Move the pointer to its new location
update_x11_pointer_position(output, output->x11->time);