derekf pushed a commit to branch master.

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

commit fe41727bc3d3b8db7edff47880a1e344eb7c1212
Author: Derek Foreman <[email protected]>
Date:   Fri Nov 10 13:34:34 2017 -0600

    wayland_shm: cosmetic code simplification
    
    We already have this value in a temp, so use it.
---
 src/modules/evas/engines/wayland_shm/evas_dmabuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/wayland_shm/evas_dmabuf.c 
b/src/modules/evas/engines/wayland_shm/evas_dmabuf.c
index 87a896f4ef..9447ebc4c0 100644
--- a/src/modules/evas/engines/wayland_shm/evas_dmabuf.c
+++ b/src/modules/evas/engines/wayland_shm/evas_dmabuf.c
@@ -668,7 +668,7 @@ _evas_dmabuf_surface_post(Surface *s, Eina_Rectangle 
*rects, unsigned int count)
    ecore_wl2_window_buffer_attach(win, b->wl_buffer, 0, 0, EINA_FALSE);
    ecore_wl2_window_damage(win, rects, count);
 
-   ecore_wl2_window_commit(s->info->info.wl2_win, EINA_TRUE);
+   ecore_wl2_window_commit(win, EINA_TRUE);
 }
 
 static struct wl_buffer *

-- 


Reply via email to