don't show comp win animation during a forced hide
authordiscomfitor <michael.blumenkrantz@gmail.com>
Thu, 19 Sep 2013 21:16:18 +0000 (22:16 +0100)
committerdiscomfitor <michael.blumenkrantz@gmail.com>
Thu, 19 Sep 2013 21:16:18 +0000 (22:16 +0100)
fixes unwanted fade in when desk flip animations are disabled

src/bin/e_comp.c

index c4a3ffdc059c6b4c84fef3733c7384eaf1a2670a..87ad15bb100ebce73541512de04d96f92af8f1e6 100644 (file)
@@ -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)
      {