summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-03-09 11:05:28 -0600
committerDerek Foreman <derekf@osg.samsung.com>2017-03-09 12:21:09 -0600
commitaedf55073ab175a95ce088a412d023dbc2e85c4f (patch)
tree4568aa5613137e85a953247f9b874c3edb14810c
parente1ffb46a0e65137fc78a6757f78a9a4a17f8d03e (diff)
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...
-rw-r--r--src/lib/ecore_wl2/Ecore_Wl2.h2
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_window.c2
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index 58f3e33d4a..24ce2f5b73 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -1332,7 +1332,7 @@ EAPI void ecore_wl2_offer_finish(Ecore_Wl2_Offer *offer);
1332 * @return Returns true if the window has an associated shell surface. 1332 * @return Returns true if the window has an associated shell surface.
1333 * @since 1.19 1333 * @since 1.19
1334 */ 1334 */
1335EAPI Eina_Bool ecore_wl2_window_has_shell_surface(Ecore_Wl2_Window *win); 1335EAPI Eina_Bool ecore_wl2_window_shell_surface_exists(Ecore_Wl2_Window *win);
1336 1336
1337/** 1337/**
1338 * Disable session recovery for any further connections. Must be called 1338 * Disable session recovery for any further connections. Must be called
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c
index fff93c4123..ebb10f258d 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -1271,7 +1271,7 @@ ecore_wl2_display_inputs_get(Ecore_Wl2_Display *display)
1271} 1271}
1272 1272
1273EAPI Eina_Bool 1273EAPI Eina_Bool
1274ecore_wl2_window_has_shell_surface(Ecore_Wl2_Window *window) 1274ecore_wl2_window_shell_surface_exists(Ecore_Wl2_Window *window)
1275{ 1275{
1276 EINA_SAFETY_ON_NULL_RETURN_VAL(window, EINA_FALSE); 1276 EINA_SAFETY_ON_NULL_RETURN_VAL(window, EINA_FALSE);
1277 1277
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index 53e1c89c22..fc1d0d4cc7 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -1500,7 +1500,7 @@ _ecore_evas_wl_common_render_flush_pre(void *data, Evas *evas, void *event EINA_
1500 wl_callback_add_listener(wdata->anim_callback, &_anim_listener, ee); 1500 wl_callback_add_listener(wdata->anim_callback, &_anim_listener, ee);
1501 ecore_evas_manual_render_set(ee, 1); 1501 ecore_evas_manual_render_set(ee, 1);
1502 1502
1503 if (!ecore_wl2_window_has_shell_surface(wdata->win)) return; 1503 if (!ecore_wl2_window_shell_surface_exists(wdata->win)) return;
1504 1504
1505 if (wdata->win->zxdg_configure_ack && wdata->win->configure_serial) 1505 if (wdata->win->zxdg_configure_ack && wdata->win->configure_serial)
1506 wdata->win->zxdg_configure_ack(wdata->win->zxdg_surface, 1506 wdata->win->zxdg_configure_ack(wdata->win->zxdg_surface,