forked from enlightenment/efl
ecore_wl2: Rename badly named API
Oops, I broke naming convention with this, but it's unreleased and beta so I hope nobody notices as long as I change it now...
This commit is contained in:
parent
e1ffb46a0e
commit
aedf55073a
|
@ -1332,7 +1332,7 @@ EAPI void ecore_wl2_offer_finish(Ecore_Wl2_Offer *offer);
|
||||||
* @return Returns true if the window has an associated shell surface.
|
* @return Returns true if the window has an associated shell surface.
|
||||||
* @since 1.19
|
* @since 1.19
|
||||||
*/
|
*/
|
||||||
EAPI Eina_Bool ecore_wl2_window_has_shell_surface(Ecore_Wl2_Window *win);
|
EAPI Eina_Bool ecore_wl2_window_shell_surface_exists(Ecore_Wl2_Window *win);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Disable session recovery for any further connections. Must be called
|
* Disable session recovery for any further connections. Must be called
|
||||||
|
|
|
@ -1271,7 +1271,7 @@ ecore_wl2_display_inputs_get(Ecore_Wl2_Display *display)
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI Eina_Bool
|
EAPI Eina_Bool
|
||||||
ecore_wl2_window_has_shell_surface(Ecore_Wl2_Window *window)
|
ecore_wl2_window_shell_surface_exists(Ecore_Wl2_Window *window)
|
||||||
{
|
{
|
||||||
EINA_SAFETY_ON_NULL_RETURN_VAL(window, EINA_FALSE);
|
EINA_SAFETY_ON_NULL_RETURN_VAL(window, EINA_FALSE);
|
||||||
|
|
||||||
|
|
|
@ -1500,7 +1500,7 @@ _ecore_evas_wl_common_render_flush_pre(void *data, Evas *evas, void *event EINA_
|
||||||
wl_callback_add_listener(wdata->anim_callback, &_anim_listener, ee);
|
wl_callback_add_listener(wdata->anim_callback, &_anim_listener, ee);
|
||||||
ecore_evas_manual_render_set(ee, 1);
|
ecore_evas_manual_render_set(ee, 1);
|
||||||
|
|
||||||
if (!ecore_wl2_window_has_shell_surface(wdata->win)) return;
|
if (!ecore_wl2_window_shell_surface_exists(wdata->win)) return;
|
||||||
|
|
||||||
if (wdata->win->zxdg_configure_ack && wdata->win->configure_serial)
|
if (wdata->win->zxdg_configure_ack && wdata->win->configure_serial)
|
||||||
wdata->win->zxdg_configure_ack(wdata->win->zxdg_surface,
|
wdata->win->zxdg_configure_ack(wdata->win->zxdg_surface,
|
||||||
|
|
Loading…
Reference in New Issue