Set surface's resource client to NULL initially
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
eadce5e382
commit
caeae50db3
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue