commits
Small patch to add the crtc background_color property (if supported)
to any atomic tests/commits
@feature
cstate->active.value);
if (ret < 0) goto err;
+ if (cstate->background.id)
+ {
+ ret =
+ sym_drmModeAtomicAddProperty(req, cstate->obj_id,
+ cstate->background.id,
+ cstate->background.value);
+ if (ret < 0) goto err;
+ }
+
EINA_LIST_FOREACH(output->planes, l, plane)
{
pstate = plane->state;
goto err;
}
+ if (cstate->background.id)
+ {
+ ret =
+ sym_drmModeAtomicAddProperty(req, cstate->obj_id,
+ cstate->background.id,
+ cstate->background.value);
+ if (ret < 0)
+ {
+ ERR("Could not add atomic property");
+ ret = EINA_FALSE;
+ goto err;
+ }
+ }
+
ret = sym_drmModeAtomicCommit(output->fd, req, DRM_MODE_ATOMIC_ALLOW_MODESET,
output);
if (ret < 0)