forked from enlightenment/efl
ecore/wayland: Using underscore on private functions.
This commit is contained in:
parent
cb0f6171a8
commit
047e3bf113
|
@ -274,7 +274,7 @@ ecore_wl_registry_get(void)
|
|||
}
|
||||
|
||||
struct wl_compositor *
|
||||
ecore_wl_compositor_get(void)
|
||||
_ecore_wl_compositor_get(void)
|
||||
{
|
||||
if ((!_ecore_wl_disp) || (!_ecore_wl_disp->wl.display))
|
||||
return NULL;
|
||||
|
@ -285,7 +285,7 @@ ecore_wl_compositor_get(void)
|
|||
}
|
||||
|
||||
struct wl_subcompositor *
|
||||
ecore_wl_subcompositor_get(void)
|
||||
_ecore_wl_subcompositor_get(void)
|
||||
{
|
||||
if ((!_ecore_wl_disp) || (!_ecore_wl_disp->wl.display))
|
||||
return NULL;
|
||||
|
|
|
@ -97,7 +97,7 @@ void _ecore_wl_events_shutdown(void);
|
|||
|
||||
void _ecore_wl_subsurfs_del_all(Ecore_Wl_Window *win);
|
||||
|
||||
struct wl_compositor *ecore_wl_compositor_get(void);
|
||||
struct wl_subcompositor *ecore_wl_subcompositor_get(void);
|
||||
struct wl_compositor *_ecore_wl_compositor_get(void);
|
||||
struct wl_subcompositor *_ecore_wl_subcompositor_get(void);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -30,10 +30,10 @@ ecore_wl_subsurf_create(Ecore_Wl_Window *win)
|
|||
if (!win) return NULL;
|
||||
if (!win->surface) return NULL;
|
||||
|
||||
subcomp = ecore_wl_subcompositor_get();
|
||||
subcomp = _ecore_wl_subcompositor_get();
|
||||
if (!subcomp) return NULL;
|
||||
|
||||
surface = wl_compositor_create_surface(ecore_wl_compositor_get());
|
||||
surface = wl_compositor_create_surface(_ecore_wl_compositor_get());
|
||||
if (!surface)
|
||||
return NULL;
|
||||
|
||||
|
@ -182,7 +182,7 @@ ecore_wl_subsurf_opaque_region_set(Ecore_Wl_Subsurf *ess, int x, int y, int w, i
|
|||
|
||||
if ((w > 0) && (h > 0))
|
||||
{
|
||||
region = wl_compositor_create_region(ecore_wl_compositor_get());
|
||||
region = wl_compositor_create_region(_ecore_wl_compositor_get());
|
||||
wl_region_add(region, x, y, w, h);
|
||||
wl_surface_set_opaque_region(ess->surface, region);
|
||||
wl_region_destroy(region);
|
||||
|
|
|
@ -252,7 +252,7 @@ ecore_wl_window_surface_create(Ecore_Wl_Window *win)
|
|||
{
|
||||
if (!win) return NULL;
|
||||
if (win->surface) return win->surface;
|
||||
win->surface = wl_compositor_create_surface(ecore_wl_compositor_get());
|
||||
win->surface = wl_compositor_create_surface(_ecore_wl_compositor_get());
|
||||
win->surface_id = wl_proxy_get_id((struct wl_proxy *)win->surface);
|
||||
return win->surface;
|
||||
}
|
||||
|
@ -610,7 +610,7 @@ ecore_wl_window_input_region_set(Ecore_Wl_Window *win, int x, int y, int w, int
|
|||
struct wl_region *region = NULL;
|
||||
|
||||
region =
|
||||
wl_compositor_create_region(ecore_wl_compositor_get());
|
||||
wl_compositor_create_region(_ecore_wl_compositor_get());
|
||||
wl_region_add(region, x, y, w, h);
|
||||
wl_surface_set_input_region(win->surface, region);
|
||||
wl_region_destroy(region);
|
||||
|
@ -640,7 +640,7 @@ ecore_wl_window_opaque_region_set(Ecore_Wl_Window *win, int x, int y, int w, int
|
|||
struct wl_region *region = NULL;
|
||||
|
||||
region =
|
||||
wl_compositor_create_region(ecore_wl_compositor_get());
|
||||
wl_compositor_create_region(_ecore_wl_compositor_get());
|
||||
|
||||
switch (win->rotation)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue