aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-12-15 12:04:39 -0500
committerChris Michael <cp.michael@samsung.com>2018-03-29 09:55:59 -0400
commitaef50cf24a8fe2391defc6390a5bc64f4cd4b17d (patch)
treed5bcf7944eac98392d570f95f7ed9a5c33e0cc30
parente mouse bindings - fix wheel conflict check to check only dir 0 (diff)
downloadenlightenment-aef50cf24a8fe2391defc6390a5bc64f4cd4b17d.tar.gz
wl-drm: move variable declaration to top and add TODO comment
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/modules/wl_drm/e_mod_main.c7
1 files 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);