Set surface's resource client to NULL initially
authorChris Michael <cp.michael@samsung.com>
Thu, 13 Jun 2013 13:50:38 +0000 (14:50 +0100)
committerChris Michael <cp.michael@samsung.com>
Thu, 13 Jun 2013 13:50:38 +0000 (14:50 +0100)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/bin/e_wayland/e_surface.c

index 941aa5100492e815e6eb25a0cf686a090573db90..89f709cb99ecec6ce4673dc3f09b196f22bf1b26 100644 (file)
@@ -58,6 +58,8 @@ e_surface_new(unsigned int id)
                              UINT32_MAX, UINT32_MAX);
 
    /* setup the surface object */
+   es->wl.resource.client = NULL;
+
    es->wl.resource.object.id = id;
    es->wl.resource.object.interface = &wl_surface_interface;
    es->wl.resource.object.implementation =