Set surface's resource client to NULL initially

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-06-13 14:50:38 +01:00
parent eadce5e382
commit caeae50db3
1 changed files with 2 additions and 0 deletions

View 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 =