smoke: fix the segment fault error
smoke: fix the segment fault error

Add widget_set_size in the initiate time to allow smoke get the
correct surface later. Or it will report segment fault error because
of the null surface.

Also add resize_handler to not allow resizing just like flower.

Signed-off-by: Juan Zhao <bfd96be7c0d572ce6f47ceaf690b6d8daf94d540@linux.intel.com>

Gnurou/weston,jonnylamb/weston,giucam/weston,eyolfson/weston,eyolfson/weston,jonnylamb/weston,mchalupa/weston,krezovic/weston,sir-murray/weston,mchalupa/weston,sir-murray/weston,kwm81/weston,xorgy/weston,udoprog/weston,Gnurou/weston,Tarnyko/weston-xdg_surface_present,Fantu/compositor-spice,Tarnyko/weston-xdg_surface_present,kwm81/weston,Fantu/compositor-spice,giucam/weston,udoprog/weston,xorgy/weston,krezovic/weston,Fantu/compositor-spice