summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWoochanlee <wc0917.lee@samsung.com>2020-01-08 08:00:25 -0500
committerChristopher Michael <cp.michael@samsung.com>2020-01-08 08:00:25 -0500
commit52fa6aa1b5cacebab9d7db2fd4c532bcddddd7f1 (patch)
tree3cd3730a19cdb63740a6e3a52f5098e33ee50eff
parent926cbb98af4757af991e55f7d4f4cd35195a5ff4 (diff)
ecore_wl2: Move ecore_wl2_window_iconified, ecore_wl2_window_pending_get functions to be internal
Summary: This iconified state doesn't match the compositor's. pending is only works for user manual buffer render case. So, no need for it to be a public. ref T8016 Reviewers: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8016 Differential Revision: https://phab.enlightenment.org/D11039
-rw-r--r--src/lib/ecore_wl2/Ecore_Wl2.h25
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_internal.h25
2 files changed, 25 insertions, 25 deletions
diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index d6dfaf1d28..c7105500b1 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -1116,17 +1116,6 @@ EAPI void ecore_wl2_window_geometry_get(Ecore_Wl2_Window *window, int *x, int *y
1116EAPI void ecore_wl2_window_geometry_set(Ecore_Wl2_Window *window, int x, int y, int w, int h); 1116EAPI void ecore_wl2_window_geometry_set(Ecore_Wl2_Window *window, int x, int y, int w, int h);
1117 1117
1118/** 1118/**
1119 * Iconify a window
1120 *
1121 * @param win The window to iconifiy
1122 * @param iconified The new iconified state to set
1123 *
1124 * @ingroup Ecore_Wl2_Window_Group
1125 * @since 1.17
1126 */
1127EAPI void ecore_wl2_window_iconified_set(Ecore_Wl2_Window *window, Eina_Bool iconified);
1128
1129/**
1130 * Set the type of a given window 1119 * Set the type of a given window
1131 * 1120 *
1132 * @param window The window to set the type of 1121 * @param window The window to set the type of
@@ -2044,20 +2033,6 @@ EAPI void ecore_wl2_session_recovery_disable(void);
2044EAPI void ecore_wl2_window_commit(Ecore_Wl2_Window *window, Eina_Bool flush); 2033EAPI void ecore_wl2_window_commit(Ecore_Wl2_Window *window, Eina_Bool flush);
2045 2034
2046/** 2035/**
2047 * Check if a wayland window's surface is in the pending state.
2048 *
2049 * A surface is pending if it's been commit but we haven't received a
2050 * frame callback for it yet. This mean's we're not ready to draw yet.
2051 *
2052 * @param window The window whose surface we want to check
2053 *
2054 * @return whether the window's surface is pending or not.
2055 *
2056 * @since 1.21
2057 */
2058EAPI Eina_Bool ecore_wl2_window_pending_get(Ecore_Wl2_Window *window);
2059
2060/**
2061 * Add a callback that fires when the window's surface_frame callback fires 2036 * Add a callback that fires when the window's surface_frame callback fires
2062 * 2037 *
2063 * @param window The window to add a callback on 2038 * @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 2b6a965b10..cda98d6459 100644
--- a/src/lib/ecore_wl2/ecore_wl2_internal.h
+++ b/src/lib/ecore_wl2/ecore_wl2_internal.h
@@ -100,6 +100,31 @@ EAPI void ecore_wl2_window_buffer_attach(Ecore_Wl2_Window *win, void *buffer, in
100 */ 100 */
101EAPI void ecore_wl2_window_buffer_transform_set(Ecore_Wl2_Window *window, int transform); 101EAPI void ecore_wl2_window_buffer_transform_set(Ecore_Wl2_Window *window, int transform);
102 102
103/**
104 * Iconify a window
105 *
106 * @param win The window to iconifiy
107 * @param iconified The new iconified state to set
108 *
109 * @ingroup Ecore_Wl2_Window_Group
110 * @since 1.17
111 */
112EAPI void ecore_wl2_window_iconified_set(Ecore_Wl2_Window *window, Eina_Bool iconified);
113
114/**
115 * Check if a wayland window's surface is in the pending state.
116 *
117 * A surface is pending if it's been commit but we haven't received a
118 * frame callback for it yet. This mean's we're not ready to draw yet.
119 *
120 * @param window The window whose surface we want to check
121 *
122 * @return whether the window's surface is pending or not.
123 *
124 * @since 1.21
125 */
126EAPI Eina_Bool ecore_wl2_window_pending_get(Ecore_Wl2_Window *window);
127
103# undef EAPI 128# undef EAPI
104# define EAPI 129# define EAPI
105 130