discomfitor pushed a commit to branch master.

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

commit bb1f5f9fdb1556e22855bcc8cfeedc75aa116085
Author: discomfitor <michael.blumenkra...@gmail.com>
Date:   Thu Sep 19 22:16:18 2013 +0100

    don't show comp win animation during a forced hide
    
    fixes unwanted fade in when desk flip animations are disabled
---
 src/bin/e_comp.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index c4a3ffd..87ad15b 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -2736,9 +2736,10 @@ _e_comp_win_hide(E_Comp_Win *cw)
         return;
      }
    cw->defer_hide = 0;
-   cw->force = 0;
    _e_comp_child_hide(cw);
-   edje_object_signal_emit(cw->shobj, "e,state,visible,off", "e");
+   if (!cw->force)
+     edje_object_signal_emit(cw->shobj, "e,state,visible,off", "e");
+   cw->force = 0;
 
    if (cw->update_timeout)
      {

-- 


Reply via email to