e_policy/wl_desktop_shell: add code clearing ec's post_lower/post_raise flag 51/117951/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 8 Mar 2017 06:12:07 +0000 (15:12 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Wed, 8 Mar 2017 06:12:07 +0000 (15:12 +0900)
Change-Id: I0d90e02ede33df929e4dc602d3a373f607a9b55b

src/bin/e_policy_wl.c
src/modules/wl_desktop_shell/e_mod_main.c

index eb108c51d213d7e2012998e023b55f9cb315d7f2..037a57588c053b4e635ed1a27cef6da4df160b00 100644 (file)
@@ -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);
 }
 
index 25b8029bd2a5747079abd5ee8e7abf4b55bd6237..ea50d7e2e45940d08da38c05476225b00e78ee26 100644 (file)
@@ -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;
                }
           }