e_client/e_policy: add a use_splash value in E_Client for using splash image 95/118495/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Sun, 12 Mar 2017 23:35:34 +0000 (08:35 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Sun, 12 Mar 2017 23:35:34 +0000 (08:35 +0900)
Change-Id: I35478019f127beff6c919ecaf232870ac0914184

src/bin/e_client.h
src/bin/e_policy_wl.c

index 1df7c4f093c026c4b5553bbc5592e4c1eaf455a3..bb6cdc37b26a5edd22a6c021ba9152088b8bc17f 100644 (file)
@@ -931,6 +931,7 @@ struct E_Client
    Eina_Bool is_cursor : 1; // The client is a cursor client
 
    int effect_type;
+   Eina_Bool use_splash : 1;
 };
 
 #define e_client_focus_policy_click(ec) \
index cebf46db96aadc42737921e1c218e1481eb4b126..e076bc477b43689693ec250ef2d7ca3066085018 100644 (file)
@@ -5338,6 +5338,7 @@ _tzlaunch_img_iface_cb_owner(struct wl_client *client EINA_UNUSED, struct wl_res
              new_ec->visible = EINA_TRUE;
              new_ec->new_client = EINA_FALSE;
              new_ec->argb = old_ec->argb;
+             new_ec->use_splash = EINA_TRUE;
 
              e_comp->launchscrns = eina_list_append(e_comp->launchscrns, new_ec);
 
@@ -5423,6 +5424,7 @@ _tzlaunch_splash_iface_cb_owner(struct wl_client *client EINA_UNUSED, struct wl_
              new_ec->new_client = EINA_FALSE;
              new_ec->argb = old_ec->argb;
              new_ec->effect_type = old_ec->effect_type;
+             new_ec->use_splash = EINA_TRUE;
 
              e_comp->launchscrns = eina_list_append(e_comp->launchscrns, new_ec);