}
struct wl_compositor *
-ecore_wl_compositor_get(void)
+_ecore_wl_compositor_get(void)
{
if ((!_ecore_wl_disp) || (!_ecore_wl_disp->wl.display))
return NULL;
}
struct wl_subcompositor *
-ecore_wl_subcompositor_get(void)
+_ecore_wl_subcompositor_get(void)
{
if ((!_ecore_wl_disp) || (!_ecore_wl_disp->wl.display))
return NULL;
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
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;
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);
{
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;
}
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);
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)
{