diff --git a/src/modules/evas/engines/wayland_shm/evas_engine.c b/src/modules/evas/engines/wayland_shm/evas_engine.c index 6e6f73f8df..9974ca27b1 100644 --- a/src/modules/evas/engines/wayland_shm/evas_engine.c +++ b/src/modules/evas/engines/wayland_shm/evas_engine.c @@ -125,7 +125,7 @@ _merge_rects(Tilebuf *tb, Tilebuf_Rect *r1, Tilebuf_Rect *r2, Tilebuf_Rect *r3) EINA_INLIST_FOREACH(EINA_INLIST_GET(r2), r) evas_common_tilebuf_add_redraw(tb, r->x, r->y, r->w, r->h); } - if (r2) + if (r3) { EINA_INLIST_FOREACH(EINA_INLIST_GET(r3), r) evas_common_tilebuf_add_redraw(tb, r->x, r->y, r->w, r->h);