aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2018-06-30 18:13:30 +0900
committerDominique Martinet <asmadeus@codewreck.org>2018-06-30 21:21:13 +0900
commitc263f7ca2992cf76c2d28bb61e8422b1dad45444 (patch)
tree6feba965b132588632e2d21b3439a5f2fb2edc62 /include
parent167105e6069d2dd66cd2d472c2a6b67703838125 (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_compositor.h5
1 files changed, 3 insertions, 2 deletions
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