compositor: introduce weston_surface_geometry_dirty()
authorPekka Paalanen <ppaalanen@gmail.com>
Fri, 8 Mar 2013 12:56:49 +0000 (14:56 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 19 Mar 2013 02:19:57 +0000 (22:19 -0400)
commitc3ce738653961e5e98e57aceec9c79d2446219d1
treeacbb3c4df974250c5c3ce1378d24e84faecc7798
parentf1f48cfa35cc4068388069e6ac3b688a2716a1de
compositor: introduce weston_surface_geometry_dirty()

Instead of directly setting the dirty flag on weston_surface geometry,
use a function for that.

This allows us to hook into geometry dirtying in a following patch.

Also add comments to weston_surface fields, whose modification causes
transform state to become outdated.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
src/animation.c
src/compositor.c
src/compositor.h
src/shell.c
src/xwayland/window-manager.c
tests/weston-test.c