e_comp: make the e_comp_util_client_is_fullscreen internal function 65/209465/2
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 5 Jul 2019 06:30:49 +0000 (15:30 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 8 Jul 2019 10:36:38 +0000 (10:36 +0000)
remove the inline function at the header file and
make it be a internal function.

Change-Id: Iafce7472c43dcfafd9d2c5e780077e3cc9c8ae11

src/bin/e_comp.c
src/bin/e_comp.h

index 5ba276be0724f2813b954b4b13ece937ffeac23b..5dc972c0b3412744b76a54347117e074d5a93103 100644 (file)
@@ -1411,3 +1411,15 @@ e_comp_hwc_client_end(E_Client *ec, const char *location)
         e_hwc_window_client_type_override(hwc_window);
      }
 }
+
+EINTERN Eina_Bool
+e_comp_util_client_is_fullscreen(const E_Client *ec)
+{
+   if ((!ec->visible) || (ec->input_only))
+     return EINA_FALSE;
+   return ((ec->client.x == 0) && (ec->client.y == 0) &&
+       ((ec->client.w) >= e_comp->w) &&
+       ((ec->client.h) >= e_comp->h) &&
+       (!ec->argb) && (!ec->shaped)
+       );
+}
index 928c3faff1ddb0a9866c4ec1dcb333f6222c493a..02980df6de3fe92e53b53d4d0b01bfcdbc86a988 100644 (file)
@@ -237,6 +237,8 @@ EINTERN Eina_Bool     e_comp_hwc_multi_plane_get(void);
 EINTERN void          e_comp_hwc_client_end(E_Client *ec, const char *location);
 EINTERN void          e_comp_hwc_end(const char *location);
 
+EINTERN Eina_Bool     e_comp_util_client_is_fullscreen(const E_Client *ec);
+
 EINTERN void          e_comp_hook_call(E_Comp_Hook_Point hookpoint, void *data EINA_UNUSED);
 
 E_API E_Comp_Hook    *e_comp_hook_add(E_Comp_Hook_Point hookpoint, E_Comp_Hook_Cb func, const void *data);
@@ -252,17 +254,5 @@ E_API void            e_comp_client_override_add(E_Client *ec);
 E_API void            e_comp_client_override_del(E_Client *ec);
 E_API Eina_List      *e_comp_vis_ec_list_get(E_Zone *zone); // visible ec list sorted by z order
 
-static inline Eina_Bool
-e_comp_util_client_is_fullscreen(const E_Client *ec)
-{
-   if ((!ec->visible) || (ec->input_only))
-     return EINA_FALSE;
-   return ((ec->client.x == 0) && (ec->client.y == 0) &&
-       ((ec->client.w) >= e_comp->w) &&
-       ((ec->client.h) >= e_comp->h) &&
-       (!ec->argb) && (!ec->shaped)
-       );
-}
-
 #endif
 #endif