summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-06-23 11:01:22 -0400
committerChris Michael <cp.michael@samsung.com>2015-06-23 11:11:29 -0400
commitc6b997eb172d10a91968c7461ecec0938c8444b5 (patch)
treeb1a63d0e096c57f54a579328ebcf1c4886a790a2 /src/lib/ecore_drm
parent5d487562271f494a5d870b89fed13e3415759d85 (diff)
ecore-drm: Fix issue of outputs not getting registered with the wayland registry
Summary: This fixes T2465: QT5 apps don't work. The issue here is that when the randr code runs in E we make calls to ecore_drm_output_enable/disable which is supposed to register the outputs with the wayland registry. This was not happening due to the enable/disabled checks at the top of these functions. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm')
-rw-r--r--src/lib/ecore_drm/ecore_drm_output.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_output.c b/src/lib/ecore_drm/ecore_drm_output.c
index 892c20fde8..e9da98c691 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -960,8 +960,6 @@ ecore_drm_output_enable(Ecore_Drm_Output *output)
960{ 960{
961 EINA_SAFETY_ON_NULL_RETURN_VAL(output, EINA_FALSE); 961 EINA_SAFETY_ON_NULL_RETURN_VAL(output, EINA_FALSE);
962 962
963 if (output->enabled) return EINA_TRUE;
964
965 output->enabled = EINA_TRUE; 963 output->enabled = EINA_TRUE;
966 ecore_drm_output_dpms_set(output, DRM_MODE_DPMS_ON); 964 ecore_drm_output_dpms_set(output, DRM_MODE_DPMS_ON);
967 965
@@ -975,8 +973,6 @@ ecore_drm_output_disable(Ecore_Drm_Output *output)
975{ 973{
976 EINA_SAFETY_ON_NULL_RETURN(output); 974 EINA_SAFETY_ON_NULL_RETURN(output);
977 975
978 if (!output->enabled) return;
979
980 output->enabled = EINA_FALSE; 976 output->enabled = EINA_FALSE;
981 ecore_drm_output_dpms_set(output, DRM_MODE_DPMS_OFF); 977 ecore_drm_output_dpms_set(output, DRM_MODE_DPMS_OFF);
982 978