static Eina_List *aux_hints_supported = NULL;
-E_API void
-e_hints_window_visible_set(E_Client *ec)
-{
- (void)ec;
-}
-
-EINTERN void
-e_hints_scale_update(void)
-{
- Eina_List *l;
- E_Comp_Wl_Output *output;
-
- EINA_LIST_FOREACH(e_comp_wl->outputs, l, output)
- output->scale = e_scale;
-}
-
-E_API const Eina_List *
-e_hints_aux_hint_supported_add(const char *hint)
-{
- Eina_List *l;
- const char *supported;
-
- EINA_LIST_FOREACH(aux_hints_supported, l, supported)
- {
- if (!strcmp(supported, hint))
- return aux_hints_supported;
- }
-
- aux_hints_supported = eina_list_append(aux_hints_supported, hint);
-
- return aux_hints_supported;
-}
-
-E_API const Eina_List *
-e_hints_aux_hint_supported_del(const char *hint)
-{
- Eina_List *l;
- const char *supported;
-
- EINA_LIST_FOREACH(aux_hints_supported, l, supported)
- {
- if (!strcmp(supported, hint))
- {
- aux_hints_supported = eina_list_remove(aux_hints_supported, hint);
- break;
- }
- }
-
- return aux_hints_supported;
-}
-
-EINTERN const Eina_List *
-e_hints_aux_hint_supported_get(void)
-{
- return aux_hints_supported;
-}
-
-E_API Eina_Bool
-e_hints_aux_hint_add(E_Client *ec, int32_t id, const char *name, const char *val)
-{
- if (!ec) return EINA_FALSE;
- return e_hints_aux_hint_add_with_pixmap(ec->pixmap, id, name, val);
-}
-
-EINTERN Eina_Bool
-e_hints_aux_hint_change(E_Client *ec, int32_t id, const char *val)
-{
- if (!ec) return EINA_FALSE;
- return e_hints_aux_hint_change_with_pixmap(ec->pixmap, id, val);
-}
-
-E_API Eina_Bool
-e_hints_aux_hint_del(E_Client *ec, int32_t id)
-{
- if (!ec) return EINA_FALSE;
- return e_hints_aux_hint_del_with_pixmap(ec->pixmap, id);
-}
-
-E_API const char *
-e_hints_aux_hint_value_get(E_Client *ec, const char *name)
-{
- if (!ec) return NULL;
- return e_hints_aux_hint_value_get_with_pixmap(ec->pixmap, name);
-}
-
-EINTERN Eina_Bool
-e_hints_aux_hint_add_with_pixmap(E_Pixmap *cp, int32_t id, const char *name, const char *val)
+static Eina_Bool
+_e_hints_aux_hint_add_with_pixmap(E_Pixmap *cp, int32_t id, const char *name, const char *val)
{
E_Comp_Wl_Client_Data *cdata;
Eina_Bool found = EINA_FALSE;
return EINA_TRUE;
}
-EINTERN Eina_Bool
-e_hints_aux_hint_change_with_pixmap(E_Pixmap *cp, int32_t id, const char *val)
+static Eina_Bool
+_e_hints_aux_hint_change_with_pixmap(E_Pixmap *cp, int32_t id, const char *val)
{
E_Comp_Wl_Client_Data *cdata;
Eina_List *l;
return EINA_FALSE;
}
-EINTERN Eina_Bool
-e_hints_aux_hint_del_with_pixmap(E_Pixmap *cp, int32_t id)
+static Eina_Bool
+_e_hints_aux_hint_del_with_pixmap(E_Pixmap *cp, int32_t id)
{
E_Comp_Wl_Client_Data *cdata;
Eina_List *l, *ll;
return EINA_TRUE;
}
-EINTERN const char *
-e_hints_aux_hint_value_get_with_pixmap(E_Pixmap *cp, const char *name)
+static const char *
+_e_hints_aux_hint_value_get_with_pixmap(E_Pixmap *cp, const char *name)
{
E_Comp_Wl_Client_Data *cdata;
Eina_List *l;
return res;
}
+
+E_API void
+e_hints_window_visible_set(E_Client *ec)
+{
+ (void)ec;
+}
+
+EINTERN void
+e_hints_scale_update(void)
+{
+ Eina_List *l;
+ E_Comp_Wl_Output *output;
+
+ EINA_LIST_FOREACH(e_comp_wl->outputs, l, output)
+ output->scale = e_scale;
+}
+
+E_API const Eina_List *
+e_hints_aux_hint_supported_add(const char *hint)
+{
+ Eina_List *l;
+ const char *supported;
+
+ EINA_LIST_FOREACH(aux_hints_supported, l, supported)
+ {
+ if (!strcmp(supported, hint))
+ return aux_hints_supported;
+ }
+
+ aux_hints_supported = eina_list_append(aux_hints_supported, hint);
+
+ return aux_hints_supported;
+}
+
+E_API const Eina_List *
+e_hints_aux_hint_supported_del(const char *hint)
+{
+ Eina_List *l;
+ const char *supported;
+
+ EINA_LIST_FOREACH(aux_hints_supported, l, supported)
+ {
+ if (!strcmp(supported, hint))
+ {
+ aux_hints_supported = eina_list_remove(aux_hints_supported, hint);
+ break;
+ }
+ }
+
+ return aux_hints_supported;
+}
+
+EINTERN const Eina_List *
+e_hints_aux_hint_supported_get(void)
+{
+ return aux_hints_supported;
+}
+
+E_API Eina_Bool
+e_hints_aux_hint_add(E_Client *ec, int32_t id, const char *name, const char *val)
+{
+ if (!ec) return EINA_FALSE;
+ return _e_hints_aux_hint_add_with_pixmap(ec->pixmap, id, name, val);
+}
+
+EINTERN Eina_Bool
+e_hints_aux_hint_change(E_Client *ec, int32_t id, const char *val)
+{
+ if (!ec) return EINA_FALSE;
+ return _e_hints_aux_hint_change_with_pixmap(ec->pixmap, id, val);
+}
+
+E_API Eina_Bool
+e_hints_aux_hint_del(E_Client *ec, int32_t id)
+{
+ if (!ec) return EINA_FALSE;
+ return _e_hints_aux_hint_del_with_pixmap(ec->pixmap, id);
+}
+
+E_API const char *
+e_hints_aux_hint_value_get(E_Client *ec, const char *name)
+{
+ if (!ec) return NULL;
+ return _e_hints_aux_hint_value_get_with_pixmap(ec->pixmap, name);
+}