Remove the weston_view.geometry.width/height fields
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 3 Dec 2013 03:01:53 +0000 (21:01 -0600)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 3 Dec 2013 06:17:58 +0000 (22:17 -0800)
commit918f2dd4cfb8b177f67b45653efbbe4325cbe9dc
tree3bd3635fc459c545c5ee34adba64656c9bf743d5
parentfdca95c7db067132b5670cbaa56c4088c2be3f1f
Remove the weston_view.geometry.width/height fields

This has a couple of additional implications for the internal weston API:
 1) weston_view_configure no longer exists.  Use weston_view_set_position
    instead.
 2) The weston_surface.configure callback no longer takes a width and
    height.  If you need these, surface.width/height are set before
    configure is called.  If you need to know when the width/height
    changes, you must track that yourself.
14 files changed:
src/animation.c
src/compositor-drm.c
src/compositor.c
src/compositor.h
src/data-device.c
src/gl-renderer.c
src/input.c
src/pixman-renderer.c
src/rpi-renderer.c
src/shell.c
src/tablet-shell.c
tests/surface-global-test.c
tests/surface-test.c
tests/weston-test.c