mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Add full refresh rate support to custom modes
This commit is contained in:
parent
b852fb9a2b
commit
0256de0002
11 changed files with 98 additions and 40 deletions
|
|
@ -452,8 +452,7 @@ static bool wlr_drm_connector_set_mode(struct wlr_output *output,
|
|||
crtc->cursor ? crtc->cursor - drm->cursor_planes : -1);
|
||||
|
||||
conn->state = WLR_DRM_CONN_CONNECTED;
|
||||
conn->output.current_mode = mode;
|
||||
wlr_output_update_size(&conn->output, mode->width, mode->height);
|
||||
wlr_output_update_mode(&conn->output, mode);
|
||||
|
||||
// Since realloc_crtcs can deallocate planes on OTHER outputs,
|
||||
// we actually need to reinitalise any than has changed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue