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:
Derek Foreman 2017-03-09 11:05:28 -06:00
parent e1ffb46a0e
commit aedf55073a
3 changed files with 3 additions and 3 deletions

View File

@ -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.
* @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

View File

@ -1271,7 +1271,7 @@ ecore_wl2_display_inputs_get(Ecore_Wl2_Display *display)
}
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);

View File

@ -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);
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)
wdata->win->zxdg_configure_ack(wdata->win->zxdg_surface,