devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=40b877f527b2a43d711c4acf073f3a62cf9bc9e1
commit 40b877f527b2a43d711c4acf073f3a62cf9bc9e1 Author: Chris Michael <cp.mich...@samsung.com> Date: Thu May 14 08:38:13 2015 -0400 wl-drm: Don't enable/disable an output until after we have set the current mode Signed-off-by: Chris Michael <cp.mich...@samsung.com> --- src/modules/wl_drm/e_mod_main.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/modules/wl_drm/e_mod_main.c b/src/modules/wl_drm/e_mod_main.c index cba2b20..668fe43 100644 --- a/src/modules/wl_drm/e_mod_main.c +++ b/src/modules/wl_drm/e_mod_main.c @@ -546,13 +546,11 @@ _drm_randr_apply(void) if (s->config.enabled) { printf("\tDRM RRR: Enabled\n"); - ecore_drm_output_enable(out); mode = _e_mod_drm_mode_screen_find(s, out); } else { printf("\tDRM RRR: Disabled\n"); - ecore_drm_output_disable(out); } if (s->config.priority > top_priority) @@ -586,6 +584,11 @@ _drm_randr_apply(void) if (s->config.priority == top_priority) ecore_drm_output_primary_set(out); + if (s->config.enabled) + ecore_drm_output_enable(out); + else + ecore_drm_output_disable(out); + printf("\tDRM RRR: Mode\n"); printf("\t\tDRM RRR: Geom: %d %d\n", s->config.mode.w, s->config.mode.h); --