summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/ecore_drm_device.c
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-05-07 11:37:54 -0400
committerChris Michael <cp.michael@samsung.com>2015-05-07 14:39:46 -0400
commit958b15c2077214b3349e9102dd486bc5bef929d7 (patch)
tree7b64e381c7c86adbe871d24ccd19f1091a9783e2 /src/lib/ecore_drm/ecore_drm_device.c
parent2145cb18c296b4269d52b57c000a9495ce8b71e1 (diff)
ecore-drm: Add new API function to mark an output as primary
Summary: This adds a new API function which we can use to mark a given Ecore_Drm_Output as being the primary output. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm/ecore_drm_device.c')
-rw-r--r--src/lib/ecore_drm/ecore_drm_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_device.c b/src/lib/ecore_drm/ecore_drm_device.c
index 2a29b0e758..b902c19d34 100644
--- a/src/lib/ecore_drm/ecore_drm_device.c
+++ b/src/lib/ecore_drm/ecore_drm_device.c
@@ -553,7 +553,7 @@ ecore_drm_device_output_name_find(Ecore_Drm_Device *dev, const char *name)
553 Eina_List *l; 553 Eina_List *l;
554 554
555 EINA_SAFETY_ON_NULL_RETURN_VAL(dev, NULL); 555 EINA_SAFETY_ON_NULL_RETURN_VAL(dev, NULL);
556 EINA_SAFETY_ON_TRUE_RETURN_VAL(name, NULL); 556 EINA_SAFETY_ON_NULL_RETURN_VAL(name, NULL);
557 557
558 EINA_LIST_FOREACH(dev->outputs, l, output) 558 EINA_LIST_FOREACH(dev->outputs, l, output)
559 if ((output->name) && (!strcmp(name, output->name))) 559 if ((output->name) && (!strcmp(name, output->name)))