Revert "e_client: add e_client_layer_set() for the change of client layer" 14/211814/1
authorJuyeon Lee <juyeonne.lee@samsung.com>
Fri, 9 Aug 2019 08:23:11 +0000 (17:23 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Fri, 9 Aug 2019 08:24:14 +0000 (17:24 +0900)
This reverts commit 38dd57d27400437e2d588ae3527902baeecb8ae8.

Change-Id: I0635feaa20b0359774f004956a9148fa7ac164be

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

index b134951..721d3a1 100644 (file)
@@ -7493,24 +7493,3 @@ E_API void e_client_frame_focus_set(E_Client *ec, Eina_Bool focus)
    if (!ec) return;
    evas_object_focus_set(ec->frame, focus);
 }
-
-E_API void
-e_client_layer_set(E_Client *ec,
-                   E_Layer layer)
-{
-   E_OBJECT_CHECK(ec);
-   E_OBJECT_TYPE_CHECK(ec, E_CLIENT_TYPE);
-
-   if (ec->frame)
-     {
-        evas_object_layer_set(ec->frame, layer);
-        if (ec->layer != layer)
-          {
-             // if e_comp_object fail to change ec->layer due to ec->layer_pending or block
-             // leave log and apply ec->layer according to set
-             // as a result it restores back to its layer.
-             ELOGF("LAYER", "layer changed %d | layer pending(%d) or block(%d) ", ec, layer, ec->layer_pending, ec->layer_block);
-             ec->layer = layer;
-          }
-     }
-}
index d1703a8..cd7786d 100644 (file)
@@ -1190,8 +1190,6 @@ EINTERN Eina_Bool e_client_pending_geometry_has(E_Client *ec);
 
 E_API void e_client_frame_focus_set(E_Client *ec, Eina_Bool focus);
 
-E_API void e_client_layer_set(E_Client *ec, E_Layer layer);
-
 /**
  * Move window to coordinates that do not account client decorations yet.
  *