mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
backend/drm: add wlr_drm_connector_state.connector
Will be useful for multi-connector commits, to avoid having to pass the list of connectors separately from their state.
This commit is contained in:
parent
17fe87af5e
commit
11e5f4f528
2 changed files with 2 additions and 0 deletions
|
|
@ -511,6 +511,7 @@ static void drm_connector_state_init(struct wlr_drm_connector_state *state,
|
|||
struct wlr_drm_connector *conn,
|
||||
const struct wlr_output_state *base) {
|
||||
*state = (struct wlr_drm_connector_state){
|
||||
.connector = conn,
|
||||
.base = base,
|
||||
.modeset = base->allow_reconfiguration,
|
||||
.active = (base->committed & WLR_OUTPUT_STATE_ENABLED) ?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue