From 0bb574239d3b164596677bf4cec371ff0671dc4f Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 5 Sep 2022 15:50:21 +0200 Subject: compositor: pass version in wlr_compositor_create This allows wlroots to support newer versions of the interface without breaking the API. --- include/wlr/types/wlr_compositor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h index 75d6605f..70b219d8 100644 --- a/include/wlr/types/wlr_compositor.h +++ b/include/wlr/types/wlr_compositor.h @@ -327,6 +327,6 @@ void wlr_surface_unlock_cached(struct wlr_surface *surface, uint32_t seq); * objects from client buffers on surface commit. */ struct wlr_compositor *wlr_compositor_create(struct wl_display *display, - struct wlr_renderer *renderer); + uint32_t version, struct wlr_renderer *renderer); #endif -- cgit v1.2.3