discomfitor pushed a commit to branch master.

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

commit 6f83ec7329ade2dae54393d47382ed53878789b7
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 777c4b8..f340f22 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -715,7 +715,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