derekf pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5f0fa084673d1e531ff17d1af96e62203ed65c2c

commit 5f0fa084673d1e531ff17d1af96e62203ed65c2c
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Thu Aug 17 15:12:19 2017 -0500

    wayland_shm: Don't attach null buffers from surface_post
    
    This is protected against elsewhere.
---
 src/modules/evas/engines/wayland_shm/evas_dmabuf.c | 2 --
 src/modules/evas/engines/wayland_shm/evas_shm.c    | 2 --
 2 files changed, 4 deletions(-)

diff --git a/src/modules/evas/engines/wayland_shm/evas_dmabuf.c 
b/src/modules/evas/engines/wayland_shm/evas_dmabuf.c
index 24063eafd0..aa6ff2e5b4 100644
--- a/src/modules/evas/engines/wayland_shm/evas_dmabuf.c
+++ b/src/modules/evas/engines/wayland_shm/evas_dmabuf.c
@@ -703,8 +703,6 @@ _evas_dmabuf_surface_post(Surface *s, Eina_Rectangle 
*rects, unsigned int count,
         _evas_surface_damage(wls, surface->compositor_version,
                              b->w, b->h, rects, count);
      }
-   else
-     wl_surface_attach(wls, NULL, 0, 0);
 
    ecore_wl2_window_commit(s->info->info.wl2_win, EINA_TRUE);
 }
diff --git a/src/modules/evas/engines/wayland_shm/evas_shm.c 
b/src/modules/evas/engines/wayland_shm/evas_shm.c
index 90f1eb2b8c..feeb4bf12c 100644
--- a/src/modules/evas/engines/wayland_shm/evas_shm.c
+++ b/src/modules/evas/engines/wayland_shm/evas_shm.c
@@ -555,8 +555,6 @@ _evas_shm_surface_post(Surface *s, Eina_Rectangle *rects, 
unsigned int count, Ei
         _evas_surface_damage(wls, surf->compositor_version,
                              leaf->w, leaf->h, rects, count);
      }
-   else
-     wl_surface_attach(wls, NULL, 0, 0);
 
    ecore_wl2_window_commit(s->info->info.wl2_win, EINA_TRUE);
 

-- 


Reply via email to