summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_outputs.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index 6734cacdff..7ad6ef8396 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -1303,6 +1303,20 @@ _output_mode_atomic_set(Ecore_Drm2_Output *output, Ecore_Drm2_Output_Mode *mode)
1303 goto err; 1303 goto err;
1304 } 1304 }
1305 1305
1306 if (cstate->background.id)
1307 {
1308 ret =
1309 sym_drmModeAtomicAddProperty(req, cstate->obj_id,
1310 cstate->background.id,
1311 cstate->background.value);
1312 if (ret < 0)
1313 {
1314 ERR("Could not add atomic property");
1315 ret = EINA_FALSE;
1316 goto err;
1317 }
1318 }
1319
1306 ret = sym_drmModeAtomicCommit(output->fd, req, DRM_MODE_ATOMIC_ALLOW_MODESET, 1320 ret = sym_drmModeAtomicCommit(output->fd, req, DRM_MODE_ATOMIC_ALLOW_MODESET,
1307 output); 1321 output);
1308 if (ret < 0) 1322 if (ret < 0)