window: change boolean to flags in toysurface::prepare()
authorPekka Paalanen <ppaalanen@gmail.com>
Fri, 30 Nov 2012 11:37:27 +0000 (13:37 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 30 Nov 2012 19:25:18 +0000 (14:25 -0500)
commitec07669a082d7c3156692a24fdbd4824e7cb9d7d
treeaca26bf61eee40fccb67581fcf42eded3023bdaf
parenta06a86066d3e4bc9463da7a967e7a1799030e04a
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 <ppaalanen@gmail.com>
clients/window.c