Remove internal usage of ClutterGeometry in StageWindow

The ClutterGeometry type is a poor substitute of cairo_rectangle_int_t,
with unsigned integers for width and height to complicate matters.

Let's remove the internal usage of ClutterGeometry and switch to the
rectangle type from Cairo.

https://bugzilla.gnome.org/show_bug.cgi?id=656663
This commit is contained in:
Emmanuele Bassi
2011-08-16 16:01:22 +01:00
parent c59f9ef79f
commit 1776ac8ed5
13 changed files with 154 additions and 124 deletions

View File

@ -89,9 +89,9 @@ struct _ClutterStageWayland
/* back pointer to the backend */
ClutterBackendWayland *backend;
ClutterGeometry allocation;
ClutterGeometry save_allocation;
ClutterGeometry pending_allocation;
cairo_rectangle_int_t allocation;
cairo_rectangle_int_t save_allocation;
cairo_rectangle_int_t pending_allocation;
struct wl_surface *wayland_surface;
int pending_swaps;