From d4c0a663cfcda9dcf49c8f8f7e3280013264d9a7 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 17 Mar 2015 16:15:00 -0400 Subject: [PATCH] only throw frame object size CRI for X comp objects --- src/bin/e_comp_object.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index 49211759f..eee3aa933 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -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);