From: Doyoun Kang Date: Wed, 8 Mar 2017 06:12:07 +0000 (+0900) Subject: e_policy/wl_desktop_shell: add code clearing ec's post_lower/post_raise flag X-Git-Tag: submit/tizen_3.0/20170310.225521~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cf1e45def9a3048fc0958d0562a5323824f6dfab;p=platform%2Fupstream%2Fenlightenment.git e_policy/wl_desktop_shell: add code clearing ec's post_lower/post_raise flag Change-Id: I0d90e02ede33df929e4dc602d3a373f607a9b55b --- diff --git a/src/bin/e_policy_wl.c b/src/bin/e_policy_wl.c index eb108c51d2..037a57588c 100644 --- a/src/bin/e_policy_wl.c +++ b/src/bin/e_policy_wl.c @@ -1354,6 +1354,8 @@ _tzpol_iface_cb_activate(struct wl_client *client EINA_UNUSED, struct wl_resourc EINA_SAFETY_ON_NULL_RETURN(ec->frame); ELOGF("TZPOL", "ACTIVATE", ec->pixmap, ec); + ec->post_lower = EINA_FALSE; + ec->post_raise = EINA_FALSE; e_policy_wl_activate(ec); } diff --git a/src/modules/wl_desktop_shell/e_mod_main.c b/src/modules/wl_desktop_shell/e_mod_main.c index 25b8029bd2..ea50d7e2e4 100644 --- a/src/modules/wl_desktop_shell/e_mod_main.c +++ b/src/modules/wl_desktop_shell/e_mod_main.c @@ -532,6 +532,9 @@ _e_shell_surface_map(struct wl_resource *resource) evas_object_lower(ec->frame); else if (ec->post_raise) evas_object_raise(ec->frame); + + ec->post_lower = EINA_FALSE; + ec->post_raise = EINA_FALSE; } } @@ -1138,6 +1141,9 @@ _e_xdg_shell_surface_map_cb_timer(void *data) evas_object_lower(ec->frame); else if (ec->post_raise) evas_object_raise(ec->frame); + + ec->post_lower = EINA_FALSE; + ec->post_raise = EINA_FALSE; } } @@ -1230,6 +1236,9 @@ _e_xdg_shell_surface_map(struct wl_resource *resource) evas_object_lower(ec->frame); else if (ec->post_raise) evas_object_raise(ec->frame); + + ec->post_lower = EINA_FALSE; + ec->post_raise = EINA_FALSE; } }