discomfitor pushed a commit to branch master.

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

commit 1d22c527a307d413f6f3cf087100c04137e5d2ab
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Thu Jan 30 10:08:45 2014 -0500

    force comp reshadow after pixmap fetch succeeds, not during setup
    
    reshadowing earlier than this makes it very likely that client attributes 
have not been fetched, meaning that the match will fall through to a default 
type match instead of using the correct one
---
 src/bin/e_comp_object.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 01dfadc..2e659a6 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -1219,6 +1219,7 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
      {
         DBG("  [%p] real hid - fix", cw->ec);
         cw->real_hid = 0;
+        e_comp_object_frame_theme_set(cw->smart_obj, 
E_COMP_OBJECT_FRAME_RESHADOW);
      }
 
    if (!cw->real_hid)
@@ -1264,8 +1265,6 @@ _e_comp_intercept_show(void *data, Evas_Object *obj 
EINA_UNUSED)
 #else
         cw->zoomap_disabled = 1;
 #endif
-        e_comp_object_frame_theme_set(cw->smart_obj, 
E_COMP_OBJECT_FRAME_RESHADOW);
-
         cw->redirected = 1;
         evas_object_color_set(cw->clip, ec->netwm.opacity, ec->netwm.opacity, 
ec->netwm.opacity, ec->netwm.opacity);
 

-- 


Reply via email to