From 1d22c527a307d413f6f3cf087100c04137e5d2ab Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 30 Jan 2014 10:08:45 -0500 Subject: [PATCH] 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 01dfadc4f..2e659a6fc 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);