Merge branch 'output-layers-unmapped' into 'master'

output-layers: change semantics of wlr_output_state.layers

See merge request wlroots/wlroots!4195
This commit is contained in:
Simon Ser 2026-01-11 05:55:29 +00:00
commit a860e5513e
8 changed files with 121 additions and 71 deletions

View file

@ -802,11 +802,7 @@ static bool drm_connector_set_pending_layer_fbs(struct wlr_drm_connector *conn,
return false;
}
if (layer_state->buffer != NULL) {
drm_fb_import(&layer->pending_fb, drm, layer_state->buffer, NULL);
} else {
drm_fb_clear(&layer->pending_fb);
}
drm_fb_import(&layer->pending_fb, drm, layer_state->buffer, NULL);
}
return true;