mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
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:
parent
530e58b96e
commit
8243399385
5 changed files with 14 additions and 21 deletions
|
|
@ -566,11 +566,6 @@ static bool output_commit(struct wlr_output *wlr_output,
|
|||
|
||||
wl_display_flush(output->backend->remote_display);
|
||||
|
||||
if (state->committed & WLR_OUTPUT_STATE_MODE) {
|
||||
wlr_output_update_custom_mode(wlr_output,
|
||||
state->custom_mode.width, state->custom_mode.height, 0);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue