From: Jongmin Lee Date: Thu, 9 Jan 2020 00:54:34 +0000 (+0900) Subject: Revert "ecore_wl2: Move ecore_wl2_window_iconified, ecore_wl2_window_pending_get... X-Git-Tag: submit/tizen/20200109.005838^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=82ef5fbb5358fc451390f30600a3ac6f70195332;p=platform%2Fupstream%2Fefl.git Revert "ecore_wl2: Move ecore_wl2_window_iconified, ecore_wl2_window_pending_get functions to be internal" This reverts commit 7d8f7616f55cfaa3494146715367cf803781ab43. --- diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h index 3ae18f0..ca4a8f4 100644 --- a/src/lib/ecore_wl2/Ecore_Wl2.h +++ b/src/lib/ecore_wl2/Ecore_Wl2.h @@ -1407,6 +1407,17 @@ EAPI void ecore_wl2_window_geometry_set(Ecore_Wl2_Window *window, int x, int y, */ EAPI Eina_Bool ecore_wl2_window_iconified_get(Ecore_Wl2_Window *window); +/** + * Iconify a window + * + * @param win The window to iconifiy + * @param iconified The new iconified state to set + * + * @ingroup Ecore_Wl2_Window_Group + * @since 1.17 + */ +EAPI void ecore_wl2_window_iconified_set(Ecore_Wl2_Window *window, Eina_Bool iconified); + // TIZEN_ONLY(20151231) : handling iconic state on tizen EAPI void ecore_wl2_window_iconify_state_update(Ecore_Wl2_Window *window, Eina_Bool iconified, Eina_Bool send_event); // @@ -2384,6 +2395,20 @@ EAPI void ecore_wl2_session_recovery_disable(void); EAPI void ecore_wl2_window_commit(Ecore_Wl2_Window *window, Eina_Bool flush); /** + * Check if a wayland window's surface is in the pending state. + * + * A surface is pending if it's been commit but we haven't received a + * frame callback for it yet. This mean's we're not ready to draw yet. + * + * @param window The window whose surface we want to check + * + * @return whether the window's surface is pending or not. + * + * @since 1.21 + */ +EAPI Eina_Bool ecore_wl2_window_pending_get(Ecore_Wl2_Window *window); + +/** * Add a callback that fires when the window's surface_frame callback fires * * @param window The window to add a callback on diff --git a/src/lib/ecore_wl2/ecore_wl2_internal.h b/src/lib/ecore_wl2/ecore_wl2_internal.h index 8a1ab3d..c8d187e 100644 --- a/src/lib/ecore_wl2/ecore_wl2_internal.h +++ b/src/lib/ecore_wl2/ecore_wl2_internal.h @@ -90,31 +90,6 @@ EAPI void ecore_wl2_window_buffer_attach(Ecore_Wl2_Window *win, void *buffer, in */ EAPI void ecore_wl2_window_buffer_transform_set(Ecore_Wl2_Window *window, int transform); -/** - * Iconify a window - * - * @param win The window to iconifiy - * @param iconified The new iconified state to set - * - * @ingroup Ecore_Wl2_Window_Group - * @since 1.17 - */ -EAPI void ecore_wl2_window_iconified_set(Ecore_Wl2_Window *window, Eina_Bool iconified); - -/** - * Check if a wayland window's surface is in the pending state. - * - * A surface is pending if it's been commit but we haven't received a - * frame callback for it yet. This mean's we're not ready to draw yet. - * - * @param window The window whose surface we want to check - * - * @return whether the window's surface is pending or not. - * - * @since 1.21 - */ -EAPI Eina_Bool ecore_wl2_window_pending_get(Ecore_Wl2_Window *window); - # undef EAPI # define EAPI