aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-09-05 15:50:21 +0200
committerSimon Ser <contact@emersion.fr>2023-04-14 17:07:26 +0200
commit0bb574239d3b164596677bf4cec371ff0671dc4f (patch)
tree4f6ad8a5b093286dbde5ec0ceb4d1ebd642f9670 /include/wlr
parent87e7584dd44f2817fafa4d1e70646fc5c501e104 (diff)
compositor: pass version in wlr_compositor_create
This allows wlroots to support newer versions of the interface without breaking the API.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_compositor.h2
1 files changed, 1 insertions, 1 deletions
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