window: change boolean to flags in toysurface::prepare()
window: change boolean to flags in toysurface::prepare()

Change the boolean parameter 'resize_hint' into a bitmask 'flags'.

Note, that this flags is very different to the other flags used in
creating the toysurface implementations. They do not make sense to mix
one way or the other. Prepare() cannot change the surface type, and
surface constructors do not care for dynamic hint flags.

Signed-off-by: Pekka Paalanen <6c0263d81461c956d504307112a4ce25eaacc3d1@gmail.com>

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