summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2018-04-11 11:25:21 -0500
committerDerek Foreman <derekf@osg.samsung.com>2018-04-11 11:48:27 -0500
commitd697e7936b16e6ddb7ea12c2661cd84f6f4acba6 (patch)
treea0669148bccf2bb0c08db0cb91bbcfa8d9db1736
parent15afb832e6b66308c7c0f2c9f961a5bd1963b401 (diff)
ecore_wl2: Remove (beta) API ecore_wl2_window_iconified_get
We actually can't ever query this, it's clearly defined that way in the protocol. There is absolutely no way to ever know if we're iconified. ref T6834
-rw-r--r--src/lib/ecore_wl2/Ecore_Wl2.h12
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_window.c8
2 files changed, 0 insertions, 20 deletions
diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index 238aaef63b..5f65191ee1 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -1044,18 +1044,6 @@ EAPI void ecore_wl2_window_geometry_get(Ecore_Wl2_Window *window, int *x, int *y
1044EAPI void ecore_wl2_window_geometry_set(Ecore_Wl2_Window *window, int x, int y, int w, int h); 1044EAPI void ecore_wl2_window_geometry_set(Ecore_Wl2_Window *window, int x, int y, int w, int h);
1045 1045
1046/** 1046/**
1047 * Get the iconified state of a given window
1048 *
1049 * @param window The window to get the iconified state of
1050 *
1051 * @return EINA_TRUE if window is iconified, EINA_FALSE otherwise
1052 *
1053 * @ingroup Ecore_Wl2_Window_Group
1054 * @since 1.17
1055 */
1056EAPI Eina_Bool ecore_wl2_window_iconified_get(Ecore_Wl2_Window *window);
1057
1058/**
1059 * Iconify a window 1047 * Iconify a window
1060 * 1048 *
1061 * @param win The window to iconifiy 1049 * @param win The window to iconifiy
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c
index 43ab769f80..fad7c3462a 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -1089,14 +1089,6 @@ ecore_wl2_window_geometry_set(Ecore_Wl2_Window *window, int x, int y, int w, int
1089 window->pending.geom = EINA_TRUE; 1089 window->pending.geom = EINA_TRUE;
1090} 1090}
1091 1091
1092EAPI Eina_Bool
1093ecore_wl2_window_iconified_get(Ecore_Wl2_Window *window)
1094{
1095 EINA_SAFETY_ON_NULL_RETURN_VAL(window, EINA_FALSE);
1096
1097 return window->set_config.minimized;
1098}
1099
1100EAPI void 1092EAPI void
1101ecore_wl2_window_iconified_set(Ecore_Wl2_Window *window, Eina_Bool iconified) 1093ecore_wl2_window_iconified_set(Ecore_Wl2_Window *window, Eina_Bool iconified)
1102{ 1094{