compositor: move weston_surface::x,y into geometry
weston_surface::transform.position depends on x,y, and therefore the
dirty flag, so move x and y into geometry.
Also add the missing dirty flags.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
diff --git a/src/compositor.h b/src/compositor.h
index c05e596..cb60e5f 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -214,7 +214,7 @@
GLuint texture;
pixman_region32_t damage;
pixman_region32_t opaque;
- int32_t x, y, width, height;
+ int32_t width, height;
int32_t pitch;
struct wl_list link;
struct wl_list buffer_link;
@@ -229,6 +229,8 @@
* That includes the transformations referenced from the list.
*/
struct {
+ int32_t x, y; /* surface translation on display */
+
/* struct weston_transform */
struct wl_list transformation_list;