Add damage rectangle(s) for surface.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-05-03 14:53:36 +01:00
parent cb679ef168
commit 8c48ab1922
1 changed files with 3 additions and 0 deletions

View File

@ -68,6 +68,9 @@ _e_surface_cb_damage(struct wl_client *client EINA_UNUSED, struct wl_resource *r
/* try to cast the resource to our surface */
if (!(es = resource->data)) return;
/* add this damage rectangle */
evas_damage_rectangle_add(es->evas, x, y, w, h);
}
static void