ecore_wl2: Add a getter for window->resizing
This commit is contained in:
parent
3fba59386b
commit
51e2514492
|
@ -1955,6 +1955,8 @@ EAPI void ecore_wl2_window_buffer_attach(Ecore_Wl2_Window *win, void *buffer, in
|
|||
*/
|
||||
EAPI void ecore_wl2_display_flush(Ecore_Wl2_Display *display);
|
||||
|
||||
EAPI Eina_Bool ecore_wl2_window_resizing_get(Ecore_Wl2_Window *window);
|
||||
|
||||
# endif
|
||||
|
||||
# undef EAPI
|
||||
|
|
|
@ -1457,3 +1457,11 @@ ecore_wl2_window_buffer_attach(Ecore_Wl2_Window *win, void *buffer, int x, int y
|
|||
else
|
||||
win->has_buffer = EINA_TRUE;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ecore_wl2_window_resizing_get(Ecore_Wl2_Window *window)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(window, EINA_FALSE);
|
||||
|
||||
return window->resizing;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue