Maybe it's not the proper fix, but the attached patch makes shading
with no animation work again.
I don't fully understand why, but keeping the two calls to
edje_object_message_signal_process
results in the sequence of events: shade -> unshade -> shade ->
unshade, which ends with shading
not working when is not animated.
Index: src/bin/e_border.c
===================================================================
--- src/bin/e_border.c (revision 37556)
+++ src/bin/e_border.c (working copy)
@@ -1734,7 +1734,6 @@
bd->need_shape_export = 1;
}
edje_object_signal_emit(bd->bg_object, "e,state,shaded", "e");
- edje_object_message_signal_process(bd->bg_object);
e_border_frame_recalc(bd);
ev = calloc(1, sizeof(E_Event_Border_Resize));
ev->border = bd;
@@ -1844,7 +1843,6 @@
bd->need_shape_export = 1;
}
edje_object_signal_emit(bd->bg_object, "e,state,unshaded", "e");
- edje_object_message_signal_process(bd->bg_object);
e_border_frame_recalc(bd);
ev = calloc(1, sizeof(E_Event_Border_Resize));
ev->border = bd;
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel