aboutsummaryrefslogtreecommitdiff
path: root/tinywl
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 /tinywl
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 'tinywl')
-rw-r--r--tinywl/tinywl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinywl/tinywl.c b/tinywl/tinywl.c
index d490167d..5ed94181 100644
--- a/tinywl/tinywl.c
+++ b/tinywl/tinywl.c
@@ -879,7 +879,7 @@ int main(int argc, char *argv[]) {
* to dig your fingers in and play with their behavior if you want. Note that
* the clients cannot set the selection directly without compositor approval,
* see the handling of the request_set_selection event below.*/
- wlr_compositor_create(server.wl_display, server.renderer);
+ wlr_compositor_create(server.wl_display, 5, server.renderer);
wlr_subcompositor_create(server.wl_display);
wlr_data_device_manager_create(server.wl_display);