From bd6d83bee7c32ee0c03a941ff4b142202b7fffa4 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Wed, 2 Jan 2019 10:03:06 -0500 Subject: [PATCH] ecore-drm2: Fix drmModeSetCrtc call during fb flip drmModeSetCrtc x & y values are actually offsets into the framebuffer memory. As such, we should not be sending output position here. @fix --- src/lib/ecore_drm2/ecore_drm2_fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c index 243feca289..4e26fd765a 100644 --- a/src/lib/ecore_drm2/ecore_drm2_fb.c +++ b/src/lib/ecore_drm2/ecore_drm2_fb.c @@ -472,7 +472,7 @@ _fb_flip(Ecore_Drm2_Output *output) { ret = sym_drmModeSetCrtc(fb->fd, output->crtc_id, fb->id, - output->x, output->y, &output->conn_id, 1, + 0, 0, &output->conn_id, 1, &output->current_mode->info); if (ret) {