summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_fb.c6
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_private.h1
2 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c
index ddd7c3e5dc..28154e567e 100644
--- a/src/lib/ecore_drm2/ecore_drm2_fb.c
+++ b/src/lib/ecore_drm2/ecore_drm2_fb.c
@@ -284,7 +284,11 @@ ecore_drm2_fb_flip_complete(Ecore_Drm2_Output *output)
284 284
285 EINA_LIST_FOREACH_SAFE(output->planes, l, ll, plane) 285 EINA_LIST_FOREACH_SAFE(output->planes, l, ll, plane)
286 { 286 {
287 if (!plane->dead) continue; 287 if (!plane->dead)
288 {
289 plane->scanout = EINA_TRUE;
290 continue;
291 }
288 output->planes = eina_list_remove_list(output->planes, l); 292 output->planes = eina_list_remove_list(output->planes, l);
289 free(plane); 293 free(plane);
290 } 294 }
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index 730c7b52ce..d387e90f42 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -176,6 +176,7 @@ struct _Ecore_Drm2_Plane
176 Ecore_Drm2_Output *output; 176 Ecore_Drm2_Output *output;
177 Ecore_Drm2_Fb *fb; 177 Ecore_Drm2_Fb *fb;
178 Eina_Bool dead; 178 Eina_Bool dead;
179 Eina_Bool scanout;
179}; 180};
180 181
181struct _Ecore_Drm2_Output_Mode 182struct _Ecore_Drm2_Output_Mode