Revert "ecore-wl2: Add API to support setting window stack mode"

This commit reverts support for added API functions inside Ecore_Wl2
to support setting window stacking mode as per IRC discussion with
Cedric

This reverts commit 1359fc9e5f.
This commit is contained in:
Chris Michael 2017-06-15 13:09:34 -04:00
parent 09375bf5b5
commit 632d6018d5
3 changed files with 0 additions and 26 deletions

View File

@ -64,13 +64,6 @@ typedef enum
ECORE_WL2_SEAT_CAPABILITIES_TOUCH = 4
} Ecore_Wl2_Seat_Capabilities;
typedef enum
{
ECORE_WL2_WINDOW_STACK_NONE = 0,
ECORE_WL2_WINDOW_STACK_ABOVE = 1,
ECORE_WL2_WINDOW_STACK_BELOW = 2,
} Ecore_Wl2_Window_Stack_Mode;
struct _Ecore_Wl2_Event_Connection
{
Ecore_Wl2_Display *display;
@ -1246,17 +1239,6 @@ EAPI void ecore_wl2_window_floating_mode_set(Ecore_Wl2_Window *window, Eina_Bool
*/
EAPI Eina_Bool ecore_wl2_window_floating_mode_get(Ecore_Wl2_Window *window);
/**
* Set a stack mode on a given window
*
* @param window
* @param mode
*
* @ingroup Ecore_Wl2_Window_Group
* @since 1.20
*/
EAPI void ecore_wl2_window_stack_mode_set(Ecore_Wl2_Window *window, Ecore_Wl2_Window_Stack_Mode mode);
/**
* @defgroup Ecore_Wl2_Input_Group Wayland Library Input Functions
* @ingroup Ecore_Wl2_Group

View File

@ -175,7 +175,6 @@ struct _Ecore_Wl2_Window
Eina_Rectangle input_rect;
Ecore_Wl2_Window_Type type;
Ecore_Wl2_Window_Stack_Mode stack_mode;
Eina_Inlist *subsurfs;
Eina_Inlist *supported_aux_hints;

View File

@ -1491,10 +1491,3 @@ ecore_wl2_window_floating_mode_get(Ecore_Wl2_Window *window)
EINA_SAFETY_ON_NULL_RETURN_VAL(window, EINA_FALSE);
return window->floating;
}
EAPI void
ecore_wl2_window_stack_mode_set(Ecore_Wl2_Window *window, Ecore_Wl2_Window_Stack_Mode mode)
{
EINA_SAFETY_ON_NULL_RETURN(window);
window->stack_mode = mode;
}