launch: add code to send launch_real.done signal 97/118497/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Sun, 12 Mar 2017 23:41:01 +0000 (08:41 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Sun, 12 Mar 2017 23:41:01 +0000 (08:41 +0900)
The effect module emits a "e,action,launch_real,done" signal after running effect.

Change-Id: I2b1eec38768fc17c5f47d406f70a0d505e9e74cd

src/e_mod_effect.c

index a0f7b57..d8d4a06 100644 (file)
@@ -67,6 +67,11 @@ _eff_event_send(E_Client *ec, Eina_Bool start, E_Effect_Type type)
         if (ec->launching == EINA_TRUE)
           {
              ec->launching = EINA_FALSE;
+             if (ec->first_mapped)
+               {
+                  ELOGF("LAUNCH", "SHOW real win", ec->pixmap, ec);
+                  e_comp_object_signal_emit(ec->frame, "e,action,launch_real,done", "e");
+               }
              e_comp_object_signal_emit(ec->frame, "e,action,launch,done", "e");
           }
      }
@@ -840,6 +845,12 @@ _eff_cb_restack_finish_done(void *data, Evas_Object *obj, const char *sig, const
                   if (ec_home->launching == EINA_TRUE)
                     {
                        ec_home->launching = EINA_FALSE;
+                       if (ec_home->first_mapped)
+                         {
+                            ELOGF("LAUNCH", "SHOW real win", ec_home->pixmap, ec_home);
+                            e_comp_object_signal_emit(ec_home->frame, "e,action,launch_real,done", "e");
+                         }
+
                        e_comp_object_signal_emit(ec_home->frame, "e,action,launch,done", "e");
                     }
                   _eff_unref(ec_home);