summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/ecore_drm_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_drm/ecore_drm_output.c')
-rw-r--r--src/lib/ecore_drm/ecore_drm_output.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_output.c b/src/lib/ecore_drm/ecore_drm_output.c
index 78882d69e2..3ffc131530 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -1118,3 +1118,10 @@ ecore_drm_output_connector_type_get(Ecore_Drm_Output *output)
1118 1118
1119 return output->conn_type; 1119 return output->conn_type;
1120} 1120}
1121
1122EAPI Eina_Bool
1123ecore_drm_output_backlight_get(Ecore_Drm_Output *output)
1124{
1125 EINA_SAFETY_ON_NULL_RETURN_VAL(output, EINA_FALSE);
1126 return (output->backlight != NULL);
1127}