summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-05-14 09:17:02 -0400
committerChris Michael <cp.michael@samsung.com>2015-05-14 09:17:02 -0400
commit066ca5ffdd0955ce6a1c759dfda18da0c1dcae4f (patch)
tree618db471bad70fa24f90d3c77ea6c386da636410 /src/lib/ecore_drm
parenteaf2b91a3db1d03e779de224a007813c1be4d7dc (diff)
ecore-drm: Ignore output enabled flag when setting output mode
Summary: We really do not need to check the enable flag here because if we are setting a valid mode, then we will be enabled anyway NB: This makes it actually possible to Enable/Disable outputs in the RandR config dialog of E-Wl ;) @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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_output.c b/src/lib/ecore_drm/ecore_drm_output.c
index 3c2c04c6c8..e1b0b157e6 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -1441,7 +1441,7 @@ ecore_drm_output_mode_set(Ecore_Drm_Output *output, Ecore_Drm_Output_Mode *mode,
1441 output->y = y; 1441 output->y = y;
1442 output->current_mode = mode; 1442 output->current_mode = mode;
1443 1443
1444 if ((mode) && (output->enabled)) 1444 if (mode)
1445 { 1445 {
1446 if (dev->current) 1446 if (dev->current)
1447 buffer = dev->current->id; 1447 buffer = dev->current->id;