devilhorns pushed a commit to branch feature/wayland/multi-output. http://git.enlightenment.org/core/enlightenment.git/commit/?id=aef50cf24a8fe2391defc6390a5bc64f4cd4b17d
commit aef50cf24a8fe2391defc6390a5bc64f4cd4b17d Author: Chris Michael <[email protected]> Date: Fri Dec 15 12:04:39 2017 -0500 wl-drm: move variable declaration to top and add TODO comment Signed-off-by: Chris Michael <[email protected]> --- 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 51ea01280..1fc237ed0 100644 --- a/src/modules/wl_drm/e_mod_main.c +++ b/src/modules/wl_drm/e_mod_main.c @@ -392,6 +392,8 @@ _drm2_randr_create(void) if (ok) { + int rotations; + if (!possible) { unsigned int refresh; @@ -413,13 +415,14 @@ _drm2_randr_create(void) s->config.geom.w, s->config.geom.h); } + /* TODO: get current output rotation and store in + * s->config.rotation */ + s->info.can_rot_0 = EINA_FALSE; s->info.can_rot_90 = EINA_FALSE; s->info.can_rot_180 = EINA_FALSE; s->info.can_rot_270 = EINA_FALSE; - int rotations; - rotations = ecore_drm2_output_supported_rotations_get(output); --
