summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_fb.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-06-16 16:19:29 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-06-23 08:15:41 -0500
commitc67da0c86984349a130696e036bc3788eef733ab (patch)
tree15133d1e4e58c25d51a4df649c2c30093a53b10f /src/lib/ecore_drm2/ecore_drm2_fb.c
parent69181cc9e84c680758ab7f7e531ebb356c40c4bf (diff)
ecore_drm2: Add Fb deleted event
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_fb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c
index d656ddc5bb..8977528937 100644
--- a/src/lib/ecore_drm2/ecore_drm2_fb.c
+++ b/src/lib/ecore_drm2/ecore_drm2_fb.c
@@ -180,6 +180,9 @@ _ecore_drm2_fb_deref(Ecore_Drm2_Fb *fb)
180 fb->ref--; 180 fb->ref--;
181 if (fb->ref) return; 181 if (fb->ref) return;
182 182
183 if (fb->status_handler)
184 fb->status_handler(fb, ECORE_DRM2_FB_STATUS_DELETED, fb->status_data);
185
183 _ecore_drm2_fb_destroy(fb); 186 _ecore_drm2_fb_destroy(fb);
184} 187}
185 188