forked from enlightenment/enlightenment
Add damage rectangle(s) for surface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
cb679ef168
commit
8c48ab1922
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue