discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=d4c0a663cfcda9dcf49c8f8f7e3280013264d9a7

commit d4c0a663cfcda9dcf49c8f8f7e3280013264d9a7
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue Mar 17 16:15:00 2015 -0400

    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 4921175..eee3aa9 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);

-- 


Reply via email to