Commit 5dcff3c6 by senthuran-lkn Committed by omarzohdi

Fixed variable initializations.

parent d4c11ac9
...@@ -68,7 +68,18 @@ struct SurfaceData ...@@ -68,7 +68,18 @@ struct SurfaceData
wl_pointer* wlPointer; wl_pointer* wlPointer;
wl_shell_surface* wlShellSurface; wl_shell_surface* wlShellSurface;
SurfaceData(){} SurfaceData()
{
width = height = 0;
display = NULL;
surface = NULL;
wlRegistry = NULL;
wlCompositor = NULL;
wlShell = NULL;
wlSeat = NULL;
wlPointer = NULL;
wlShellSurface = NULL;
}
}; };
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment