forked from enlightenment/efl
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
This commit is contained in:
parent
15afb832e6
commit
d697e7936b
|
@ -1043,18 +1043,6 @@ EAPI void ecore_wl2_window_geometry_get(Ecore_Wl2_Window *window, int *x, int *y
|
|||
*/
|
||||
EAPI void ecore_wl2_window_geometry_set(Ecore_Wl2_Window *window, int x, int y, int w, int h);
|
||||
|
||||
/**
|
||||
* Get the iconified state of a given window
|
||||
*
|
||||
* @param window The window to get the iconified state of
|
||||
*
|
||||
* @return EINA_TRUE if window is iconified, EINA_FALSE otherwise
|
||||
*
|
||||
* @ingroup Ecore_Wl2_Window_Group
|
||||
* @since 1.17
|
||||
*/
|
||||
EAPI Eina_Bool ecore_wl2_window_iconified_get(Ecore_Wl2_Window *window);
|
||||
|
||||
/**
|
||||
* Iconify a window
|
||||
*
|
||||
|
|
|
@ -1089,14 +1089,6 @@ ecore_wl2_window_geometry_set(Ecore_Wl2_Window *window, int x, int y, int w, int
|
|||
window->pending.geom = EINA_TRUE;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ecore_wl2_window_iconified_get(Ecore_Wl2_Window *window)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(window, EINA_FALSE);
|
||||
|
||||
return window->set_config.minimized;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ecore_wl2_window_iconified_set(Ecore_Wl2_Window *window, Eina_Bool iconified)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue