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.
This commit is contained in:
Dominique Martinet 2018-06-30 18:13:30 +09:00
parent 167105e606
commit c263f7ca29
3 changed files with 8 additions and 7 deletions

View file

@ -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