forked from enlightenment/enlightenment
make most wayland data device functions external
This commit is contained in:
parent
106dfe4e21
commit
550cc56e59
|
@ -668,7 +668,7 @@ _e_comp_wl_data_device_target_del(void *data, Evas *e EINA_UNUSED, Evas_Object *
|
|||
e_comp->wl_comp_data->selection.target = NULL;
|
||||
}
|
||||
|
||||
EINTERN void
|
||||
E_API void
|
||||
e_comp_wl_data_device_send_enter(E_Client *ec)
|
||||
{
|
||||
struct wl_resource *data_device_res, *offer_res;
|
||||
|
@ -691,7 +691,7 @@ e_comp_wl_data_device_send_enter(E_Client *ec)
|
|||
wl_fixed_from_int(x), wl_fixed_from_int(y), offer_res);
|
||||
}
|
||||
|
||||
EINTERN void
|
||||
E_API void
|
||||
e_comp_wl_data_device_send_leave(E_Client *ec)
|
||||
{
|
||||
struct wl_resource *res;
|
||||
|
@ -779,7 +779,7 @@ e_comp_wl_data_manager_shutdown(void)
|
|||
E_FREE_FUNC(e_comp->wl_comp_data->mgr.data_resources, eina_hash_free);
|
||||
}
|
||||
|
||||
EINTERN struct wl_resource *
|
||||
E_API struct wl_resource *
|
||||
e_comp_wl_data_find_for_client(struct wl_client *client)
|
||||
{
|
||||
return eina_hash_find(e_comp->wl_comp_data->mgr.data_resources, &client);
|
||||
|
|
|
@ -50,13 +50,13 @@ struct _E_Comp_Wl_Clipboard_Offer
|
|||
size_t offset;
|
||||
};
|
||||
|
||||
EINTERN void e_comp_wl_data_device_send_enter(E_Client *ec);
|
||||
EINTERN void e_comp_wl_data_device_send_leave(E_Client *ec);
|
||||
E_API void e_comp_wl_data_device_send_enter(E_Client *ec);
|
||||
E_API void e_comp_wl_data_device_send_leave(E_Client *ec);
|
||||
EINTERN void *e_comp_wl_data_device_send_offer(E_Client *ec);
|
||||
EINTERN void e_comp_wl_data_device_keyboard_focus_set(void);
|
||||
EINTERN Eina_Bool e_comp_wl_data_manager_init(void);
|
||||
EINTERN void e_comp_wl_data_manager_shutdown(void);
|
||||
EINTERN struct wl_resource *e_comp_wl_data_find_for_client(struct wl_client *client);
|
||||
E_API struct wl_resource *e_comp_wl_data_find_for_client(struct wl_client *client);
|
||||
E_API E_Comp_Wl_Data_Source *e_comp_wl_data_manager_source_create(struct wl_client *client, struct wl_resource *resource, uint32_t id);
|
||||
# endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue