summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-09-29 16:16:11 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-10-12 12:24:03 -0500
commit51e2514492b2108a3679169613ea03874d4e074d (patch)
tree8a1d67a044fca54471216ee80245abc37d9c4735 /src/lib/ecore_wl2
parent3fba59386b61aeb59206a77b64731751e82d6d62 (diff)
ecore_wl2: Add a getter for window->resizing
Diffstat (limited to 'src/lib/ecore_wl2')
-rw-r--r--src/lib/ecore_wl2/Ecore_Wl2.h2
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_window.c8
2 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index 5fa44cce20..288ffda65b 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -1955,6 +1955,8 @@ EAPI void ecore_wl2_window_buffer_attach(Ecore_Wl2_Window *win, void *buffer, in
1955 */ 1955 */
1956EAPI void ecore_wl2_display_flush(Ecore_Wl2_Display *display); 1956EAPI void ecore_wl2_display_flush(Ecore_Wl2_Display *display);
1957 1957
1958EAPI Eina_Bool ecore_wl2_window_resizing_get(Ecore_Wl2_Window *window);
1959
1958# endif 1960# endif
1959 1961
1960# undef EAPI 1962# undef EAPI
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c
index afffdfdfa2..f7b01a092d 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -1457,3 +1457,11 @@ ecore_wl2_window_buffer_attach(Ecore_Wl2_Window *win, void *buffer, int x, int y
1457 else 1457 else
1458 win->has_buffer = EINA_TRUE; 1458 win->has_buffer = EINA_TRUE;
1459} 1459}
1460
1461EAPI Eina_Bool
1462ecore_wl2_window_resizing_get(Ecore_Wl2_Window *window)
1463{
1464 EINA_SAFETY_ON_NULL_RETURN_VAL(window, EINA_FALSE);
1465
1466 return window->resizing;
1467}