forked from enlightenment/efl
ecore_wl2: Remove ecore_wl2_window_raise
Summary: Since this can't be done, it probably doesn't need API. @betabreak Depends on D6276 Reviewers: devilhorns, zmike Reviewed By: zmike Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6277
This commit is contained in:
parent
dc75d6b5d3
commit
03793c4c64
|
@ -839,16 +839,6 @@ EAPI void ecore_wl2_window_move(Ecore_Wl2_Window *window, Ecore_Wl2_Input *input
|
|||
*/
|
||||
EAPI void ecore_wl2_window_resize(Ecore_Wl2_Window *window, Ecore_Wl2_Input *input, int location);
|
||||
|
||||
/**
|
||||
* Raise a given Ecore_Wl2_Window
|
||||
*
|
||||
* @param window The Ecore_Wl2_Window which to raise
|
||||
*
|
||||
* @ingroup Ecore_Wl2_Window_Group
|
||||
* @since 1.17
|
||||
*/
|
||||
EAPI void ecore_wl2_window_raise(Ecore_Wl2_Window *window);
|
||||
|
||||
/**
|
||||
* Get if a given window is alpha
|
||||
*
|
||||
|
|
|
@ -770,26 +770,6 @@ ecore_wl2_window_resize(Ecore_Wl2_Window *window, Ecore_Wl2_Input *input, int lo
|
|||
_ecore_wl2_input_ungrab(input);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ecore_wl2_window_raise(Ecore_Wl2_Window *window)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN(window);
|
||||
|
||||
if (window->zxdg_toplevel)
|
||||
{
|
||||
struct wl_array states;
|
||||
uint32_t *s;
|
||||
|
||||
wl_array_init(&states);
|
||||
s = wl_array_add(&states, sizeof(*s));
|
||||
*s = ZXDG_TOPLEVEL_V6_STATE_ACTIVATED;
|
||||
_zxdg_toplevel_cb_configure(window, window->zxdg_toplevel,
|
||||
window->set_config.geometry.w,
|
||||
window->set_config.geometry.h, &states);
|
||||
wl_array_release(&states);
|
||||
}
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ecore_wl2_window_alpha_get(Ecore_Wl2_Window *window)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue