e_comp_wl_rsm: attach null buffer when unbind client 27/147427/2
authorChangyeon Lee <cyeon.lee@samsung.com>
Fri, 1 Sep 2017 07:46:22 +0000 (16:46 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 4 Sep 2017 09:44:55 +0000 (09:44 +0000)
Change-Id: I4be1a2d9e7975713fa51129b63e05f09ff4348c4

src/bin/e_comp_wl_rsm.c

index 50288cc..7c9f881 100644 (file)
@@ -750,6 +750,8 @@ _remote_surface_bind_client(E_Comp_Wl_Remote_Surface *remote_surface, E_Client *
         remote_surface->bind_ec->comp_data->scaler.buffer_viewport.changed = 0;
         e_comp_wl_map_apply(remote_surface->bind_ec);
 
+        e_comp_wl_surface_attach(remote_surface->bind_ec, NULL);
+
         remote_surface->bind_ec = NULL;
 
         /* try to send latest buffer of the provider to the consumer when unbinding