wl_desktop_shell: add code to send launch_real.done signal 96/118496/1 accepted/tizen/3.0/common/20170314.072727 accepted/tizen/3.0/ivi/20170314.004916 accepted/tizen/3.0/mobile/20170314.004752 accepted/tizen/3.0/tv/20170314.004821 accepted/tizen/3.0/wearable/20170314.004849 accepted/tizen/common/20170314.172839 accepted/tizen/ivi/20170313.225757 accepted/tizen/mobile/20170313.225705 accepted/tizen/tv/20170313.225723 accepted/tizen/unified/20170314.015105 accepted/tizen/wearable/20170313.225740 submit/tizen/20170313.220824 submit/tizen_3.0/20170313.220639
authorDoyoun Kang <doyoun.kang@samsung.com>
Sun, 12 Mar 2017 23:38:50 +0000 (08:38 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Sun, 12 Mar 2017 23:38:50 +0000 (08:38 +0900)
E emits a "e,action,launch_real,done" signal when a window is mappend and not using splash image.

Change-Id: If240dc40cd00e20051d2454e35503af52c537ea9

src/modules/wl_desktop_shell/e_mod_main.c

index ea50d7e2e45940d08da38c05476225b00e78ee26..5146d70bb36bbb643219f7d8572cff8fe852663d 100644 (file)
@@ -1113,6 +1113,12 @@ _e_xdg_shell_surface_map_cb_timer(void *data)
               (unsigned int)e_client_util_win_get(ec),
               ec->w, ec->h);
 
+        if (ec->use_splash)
+          {
+             ELOGF("LAUNCH", "SHOW real win after splash effect by map_timer", ec->pixmap, ec);
+             e_comp_object_signal_emit(ec->frame, "e,action,launch_real,done", "e");
+          }
+
         /* unset previous content */
         e_comp_object_content_unset(ec->frame);
 
@@ -1206,7 +1212,6 @@ _e_xdg_shell_surface_map(struct wl_resource *resource)
                   return;
                }
           }
-
         E_FREE_FUNC(ec->map_timer, ecore_timer_del);
 
         ELOGF("SHELL",
@@ -1215,6 +1220,12 @@ _e_xdg_shell_surface_map(struct wl_resource *resource)
               (unsigned int)e_client_util_win_get(ec),
               ec->w, ec->h);
 
+        if (ec->use_splash)
+          {
+             ELOGF("LAUNCH", "SHOW real win after splash effect", ec->pixmap, ec);
+             e_comp_object_signal_emit(ec->frame, "e,action,launch_real,done", "e");
+          }
+
         /* unset previous content */
         e_comp_object_content_unset(ec->frame);