mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
compositor: pass version in wlr_compositor_create
This allows wlroots to support newer versions of the interface without breaking the API.
This commit is contained in:
parent
87e7584dd4
commit
0bb574239d
6 changed files with 9 additions and 7 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue