jpeg pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=67295ed747b9b2aaa433fbf3c512adc5cee3c496
commit 67295ed747b9b2aaa433fbf3c512adc5cee3c496 Author: Bryce Harrington <[email protected]> Date: Mon Jun 12 11:54:05 2017 +0900 ecore_evas: Document ecore_evas Wayland operations Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4954 --- src/lib/ecore_evas/Ecore_Evas.h | 40 +++++++++++++++++++++++++++++++++++++++- src/lib/ecore_wl2/Ecore_Wl2.h | 2 +- 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/src/lib/ecore_evas/Ecore_Evas.h b/src/lib/ecore_evas/Ecore_Evas.h index 84e0cb1ebe..e148a421a9 100644 --- a/src/lib/ecore_evas/Ecore_Evas.h +++ b/src/lib/ecore_evas/Ecore_Evas.h @@ -1529,14 +1529,52 @@ EAPI Ecore_Evas *ecore_evas_wayland_shm_new(const char *disp_name, unsigned */ EAPI Ecore_Evas *ecore_evas_wayland_egl_new(const char *disp_name, unsigned int parent, int x, int y, int w, int h, Eina_Bool frame); +/** + * @brief Begin resizing the Ecore_Evas window. + * + * @param ee The Ecore_Evas. + * @param location The edge of the window from which the resize should start. + * + * The location edge is an enum as defined by the XDG Shell protocol. See + * the zxdg_toplevel_v6_resize_edge enum definition for edge numbering. + */ EAPI void ecore_evas_wayland_resize(Ecore_Evas *ee, int location); + +/** + * @brief Begin moving the Ecore_Evas window. + * + * @param ee The Ecore_Evas. + * @param x (unused) + * @param y (unused) + */ EAPI void ecore_evas_wayland_move(Ecore_Evas *ee, int x, int y); +/** + * @brief Set the pointer for the Ecore_Evas window. + * + * @param ee The Ecore_Evas. + * @param hot_x X coordinate. + * @param hot_y Y coordinate. + * + * @note: This routine is unimplemented. + */ EAPI void ecore_evas_wayland_pointer_set(Ecore_Evas *ee, int hot_x, int hot_y); + +/** + * @brief Set the type of the Ecore_Evas window. + * + * Enables setting the window as top level, menu, dnd, etc. + * + * @param ee The Ecore_Evas. + * @param type The Ecore_Wl2_Window_Type to set on the window. + * + * @see ecore_wl2_window_type_set() + * @see Ecore_Wl2_Window_Type + */ EAPI void ecore_evas_wayland_type_set(Ecore_Evas *ee, int type); + EAPI Ecore_Wl_Window *ecore_evas_wayland_window_get(const Ecore_Evas *ee); EAPI Ecore_Wl2_Window *ecore_evas_wayland2_window_get(const Ecore_Evas *ee); /** @since 1.17 */ - EAPI Ecore_Cocoa_Window *ecore_evas_cocoa_window_get(const Ecore_Evas *ee); /** @since 1.17 */ EAPI Ecore_Evas *ecore_evas_drm_new(const char *device, unsigned int parent, int x, int y, int w, int h); diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h index daa46a1aa0..0b9594c867 100644 --- a/src/lib/ecore_wl2/Ecore_Wl2.h +++ b/src/lib/ecore_wl2/Ecore_Wl2.h @@ -720,7 +720,7 @@ EAPI void ecore_wl2_window_move(Ecore_Wl2_Window *window, Ecore_Wl2_Input *input * * @param window The Ecore_Wl2_Window which to resize * @param input The seat on which the resize is active - * @param location The edge of the window from where the resize should start + * @param location The edge of the window from which the resize should start * * @ingroup Ecore_Wl2_Window_Group * @since 1.20 --
