summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-08-17 15:12:19 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-08-18 14:27:32 -0500
commit5f0fa084673d1e531ff17d1af96e62203ed65c2c (patch)
tree446746aa004b16bb99b4a912a9bb6f872004053e
parent51768ff62bad8ff6de6f941943d953a516e86f8e (diff)
downloadefl-5f0fa084673d1e531ff17d1af96e62203ed65c2c.tar.gz
wayland_shm: Don't attach null buffers from surface_post
This is protected against elsewhere.
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_dmabuf.c2
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_shm.c2
2 files changed, 0 insertions, 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);