ecore-wl2: Add API function to return the registry of a display
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
206914aa32
commit
35710fa919
|
@ -308,6 +308,8 @@ EAPI void ecore_wl2_display_screen_size_get(Ecore_Wl2_Display *display, int *w,
|
|||
/* TODO: doxy */
|
||||
EAPI Ecore_Wl2_Window *ecore_wl2_display_window_find(Ecore_Wl2_Display *display, unsigned int id);
|
||||
|
||||
EAPI struct wl_registry *ecore_wl2_display_registry_get(Ecore_Wl2_Display *display);
|
||||
|
||||
/**
|
||||
* @defgroup Ecore_Wl2_Window_Group Wayland Library Window Functions
|
||||
* @ingroup Ecore_Wl2_Group
|
||||
|
|
|
@ -502,3 +502,11 @@ ecore_wl2_display_window_find(Ecore_Wl2_Display *display, unsigned int id)
|
|||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
EAPI struct wl_registry *
|
||||
ecore_wl2_display_registry_get(Ecore_Wl2_Display *display)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(display, NULL);
|
||||
|
||||
return wl_display_registry_get(display->wl.display);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue