e_comp_wl_rsm: delete render update when remote_surface is unbinded 20/168120/3
authorChangyeon Lee <cyeon.lee@samsung.com>
Fri, 19 Jan 2018 07:59:58 +0000 (16:59 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 25 Jan 2018 03:57:04 +0000 (03:57 +0000)
if null buffer is attached and bind_ec is remained in update list,
bind_ec is set redirect False and then It can't be composited forever.

Change-Id: I3733a7775902a6c3a4956bd3dd6072c2e051218f

src/bin/e_comp_wl_rsm.c

index 1782b773109567b10a9a7848ed570c3e1d4e1e1a..4921d16af5a2b70379c7b1576554c2d60f783fb6 100644 (file)
@@ -790,6 +790,7 @@ _remote_surface_bind_client(E_Comp_Wl_Remote_Surface *remote_surface, E_Client *
 #endif
 
         e_comp_wl_surface_attach(remote_surface->bind_ec, NULL);
+        e_comp_object_render_update_del(remote_surface->bind_ec->frame);
 
         eina_hash_del(_rsm->bind_surface_hash, &remote_surface->bind_ec, remote_surface);
         _remote_surface_bind_client_unset(remote_surface);