From 9223b0d5356560d4246b5ef4d592672cab032949 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Fri, 28 Apr 2017 14:51:46 -0500 Subject: [PATCH] ecore_drm2: Pass user data to atomic flip We need the user_data to come back to us in the flip handler like it does in the non atomic flip. --- src/lib/ecore_drm2/ecore_drm2_fb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c index f2c2bc0..43e8533 100644 --- a/src/lib/ecore_drm2/ecore_drm2_fb.c +++ b/src/lib/ecore_drm2/ecore_drm2_fb.c @@ -365,7 +365,8 @@ _fb_atomic_flip(Ecore_Drm2_Output *output) res = sym_drmModeAtomicCommit(output->fd, - output->prep.atomic_req, flags, NULL); + output->prep.atomic_req, flags, + output->user_data); if (res < 0) { ERR("Failed Atomic Commit: %m"); -- 2.7.4