From c263f7ca2992cf76c2d28bb61e8422b1dad45444 Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Sat, 30 Jun 2018 18:13:30 +0900 Subject: s/wlr_subsurface_from_surface/wlr_subsurface_from_wlr_surface/ This was the only x_from_wlr_surface function that lacked the wlr_ prefix, let's have an API as uniform as possible. --- include/wlr/types/wlr_compositor.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h index f6be0a74..51702884 100644 --- a/include/wlr/types/wlr_compositor.h +++ b/include/wlr/types/wlr_compositor.h @@ -31,10 +31,11 @@ struct wlr_compositor { void wlr_compositor_destroy(struct wlr_compositor *wlr_compositor); struct wlr_compositor *wlr_compositor_create(struct wl_display *display, - struct wlr_renderer *renderer); + struct wlr_renderer *renderer); bool wlr_surface_is_subsurface(struct wlr_surface *surface); -struct wlr_subsurface *wlr_subsurface_from_surface(struct wlr_surface *surface); +struct wlr_subsurface *wlr_subsurface_from_wlr_surface( + struct wlr_surface *surface); #endif -- cgit v1.2.3