devilhorns pushed a commit to branch master.

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

commit d68644c920845c9b8905334d21f6fdbce6b0a560
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Thu Jul 30 15:11:09 2015 -0400

    evas-wayland-shm: Set wl_display field inside the Shm_Surface structure
    
    Summary: As we need access to the wl_display in order to dispatch
    events on the queue while we wait for free buffers, pass it in to the
    surface creation function and set it in the Shm_Surface structure
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/modules/evas/engines/wayland_shm/evas_shm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/wayland_shm/evas_shm.c 
b/src/modules/evas/engines/wayland_shm/evas_shm.c
index 30f02f8..705100c 100644
--- a/src/modules/evas/engines/wayland_shm/evas_shm.c
+++ b/src/modules/evas/engines/wayland_shm/evas_shm.c
@@ -309,7 +309,7 @@ _shm_leaf_release(Shm_Leaf *leaf)
 }
 
 Shm_Surface *
-_evas_shm_surface_create(struct wl_shm *shm, struct wl_surface *surface, int 
w, int h, int num_buff, Eina_Bool alpha)
+_evas_shm_surface_create(struct wl_display *disp, struct wl_shm *shm, struct 
wl_surface *surface, int w, int h, int num_buff, Eina_Bool alpha)
 {
    Shm_Surface *surf;
    int i = 0;
@@ -322,6 +322,7 @@ _evas_shm_surface_create(struct wl_shm *shm, struct 
wl_surface *surface, int w,
    surf->dy = 0;
    surf->w = w;
    surf->h = h;
+   surf->disp = disp;
    surf->shm = shm;
    surf->surface = surface;
    surf->num_buff = num_buff;

-- 


Reply via email to