derekf pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=fbceceff5a1c0fc5490d1d5c8309a0d4e7b19aa7

commit fbceceff5a1c0fc5490d1d5c8309a0d4e7b19aa7
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Thu Jul 27 15:20:32 2017 -0500

    Fix geometry for drm outputs
    
    It appears that config.geom.x and config.geom.y specify the corner of
    an output in global space, but ecore_drm2_output_mode_set's x and y
    are offsets into the framebuffer for the corner of the display.
    
    Just pass 0, 0 and everything will be ok.
---
 src/modules/wl_drm/e_mod_main.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/modules/wl_drm/e_mod_main.c b/src/modules/wl_drm/e_mod_main.c
index 38c02097b..577d4db15 100644
--- a/src/modules/wl_drm/e_mod_main.c
+++ b/src/modules/wl_drm/e_mod_main.c
@@ -579,8 +579,7 @@ _drm2_randr_apply(void)
         if (s->config.priority > top_priority)
           top_priority = s->config.priority;
 
-        ecore_drm2_output_mode_set(output, mode,
-                                   s->config.geom.x, s->config.geom.y);
+        ecore_drm2_output_mode_set(output, mode, 0, 0);
 
         /* TODO: cannot support rotations until we support planes
          * and we cannot support planes until Atomic support is in */

-- 


Reply via email to