discomfitor pushed a commit to branch enlightenment-0.20.

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

commit 12534a9564a2c62e44910af3c36b748cf289732a
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Apr 22 12:45:04 2016 -0400

    do not show unsized comp objects during theme apply
---
 src/bin/e_comp_object.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 037e49d..8c4b8c9 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -680,7 +680,10 @@ _e_comp_object_shadow_setup(E_Comp_Object *cw)
     * stuck as hidden
     */
    if (cw->visible || cw->ec->iconic || cw->ec->re_manage)
-     e_comp_object_signal_emit(cw->smart_obj, "e,state,visible", "e");
+     {
+        if ((cw->w > 0) && (cw->h > 0))
+          e_comp_object_signal_emit(cw->smart_obj, "e,state,visible", "e");
+     }
    else
      e_comp_object_signal_emit(cw->smart_obj, "e,state,hidden", "e");
 

-- 


Reply via email to