aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-01-13 19:46:20 -0500
committerGitHub <noreply@github.com>2018-01-13 19:46:20 -0500
commit64f6a443294996288edbff5c8ffc796fe58a2a41 (patch)
tree1b67c9e188e44dc0ebb170e5a2c3ad749e7291f3 /include
parent03faf17942432027aaeb12e624e089de7673c209 (diff)
parentdfae5ff98f15ad65472cb2d39a8153ced14be1b8 (diff)
Merge pull request #559 from Ongy/wayland_remote
adds remote argument to wayland backend create
Diffstat (limited to 'include')
-rw-r--r--include/wlr/backend/wayland.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/wlr/backend/wayland.h b/include/wlr/backend/wayland.h
index b10ffee3..f89a6383 100644
--- a/include/wlr/backend/wayland.h
+++ b/include/wlr/backend/wayland.h
@@ -11,8 +11,12 @@
/**
* Creates a new wlr_wl_backend. This backend will be created with no outputs;
* you must use wlr_wl_output_create to add them.
+ *
+ * The `remote` argument is the name of the host compositor wayland socket. Set
+ * to NULL for the default behaviour (WAYLAND_DISPLAY env variable or wayland-0
+ * default)
*/
-struct wlr_backend *wlr_wl_backend_create(struct wl_display *display);
+struct wlr_backend *wlr_wl_backend_create(struct wl_display *display, const char *remote);
/**
* Adds a new output to this backend. You may remove outputs by destroying them.