e_policy_wl: set post_raise flag while handing activate request 76/173776/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Thu, 8 Mar 2018 00:23:42 +0000 (09:23 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Mon, 26 Mar 2018 01:49:35 +0000 (10:49 +0900)
Change-Id: I1e791da9d0e59c83b45fb7c547594ec573fa34da

src/bin/e_policy_wl.c

index 9d2c24383b50cdb4ae8cedc0287849cd2e75afb5..3df387fd6c93630dccacb2b155a695476f87d6b2 100644 (file)
@@ -1410,7 +1410,8 @@ _tzpol_iface_cb_activate(struct wl_client *client EINA_UNUSED, struct wl_resourc
 
    ELOGF("TZPOL", "ACTIVATE", ec->pixmap, ec);
    ec->post_lower = EINA_FALSE;
-   ec->post_raise = EINA_FALSE;
+   if (ec->comp_data && !ec->comp_data->mapped)
+     ec->post_raise = EINA_TRUE;
    e_policy_wl_activate(ec);
 }