only throw frame object size CRI for X comp objects
authorMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 17 Mar 2015 20:15:00 +0000 (16:15 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 17 Mar 2015 20:15:23 +0000 (16:15 -0400)
src/bin/e_comp_object.c

index 4921175..eee3aa9 100644 (file)
@@ -1333,7 +1333,8 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
    /* re-set geometry */
    evas_object_move(cw->smart_obj, cw->ec->x, cw->ec->y);
    /* ensure that some kind of frame calc has occurred if there's a frame */
-   if (cw->frame_object && (cw->ec->h == cw->ec->client.h) && (cw->ec->w == cw->ec->client.w))
+   if (e_pixmap_is_x(cw->ec->pixmap) && cw->frame_object &&
+       (cw->ec->h == cw->ec->client.h) && (cw->ec->w == cw->ec->client.w))
      CRI("ACK!");
    /* force resize in case it hasn't happened yet, or just to update size */
    evas_object_resize(cw->smart_obj, cw->ec->w, cw->ec->h);