do not return when x11 damage event returns no rects
authorMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 14 Oct 2015 16:50:17 +0000 (12:50 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 14 Oct 2015 16:59:14 +0000 (12:59 -0400)
ensure first_damage flag is set in all cases

src/bin/e_comp_x.c

index c655f9a4f6d86bf9678c173f436d94c13a0f6a9a..dadc70a404615d2b743a89b3d5fcb91ecccfe598 100644 (file)
@@ -2826,7 +2826,6 @@ _e_comp_x_damage(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_Event_Dam
      }
    //WRN("DAMAGE %p: %dx%d", ec, ev->area.width, ev->area.height);
 
-   if (!n) return ECORE_CALLBACK_RENEW;
    if (e_comp->nocomp)
      e_pixmap_dirty(ec->pixmap);
    else if (n)