e_policy_wl: set post_raise flag while handing activate request 66/171866/2
authorDoyoun Kang <doyoun.kang@samsung.com>
Thu, 8 Mar 2018 00:23:42 +0000 (09:23 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Thu, 8 Mar 2018 07:04:02 +0000 (07:04 +0000)
Change-Id: I318f4c233c0b8cd28e67deb37fb0245bb5d70867

src/bin/e_policy_wl.c

index 6f4859eaf49c3c7fb6f1c7eff9c2f73420cc826a..51351839c80df60a278f50f145566bff5fc304b5 100644 (file)
@@ -1374,7 +1374,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);
 }