aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend
diff options
context:
space:
mode:
authorMarkus Ongyerth <ongy@ongy.net>2018-01-13 21:20:15 +0100
committerMarkus Ongyerth <ongy@ongy.net>2018-01-13 21:20:15 +0100
commitc00e9d1416e609543b41d15550841a10a9b38632 (patch)
tree028e699f2deeff3e8fc018d26944a6f45f6a81f6 /include/wlr/backend
parent03faf17942432027aaeb12e624e089de7673c209 (diff)
adds remote argument to wayland backend create
Add a remote display name argument to wlr_wl_backend_create. If NULL is passed to the wayland backend at all times, creating a wayland backend *after* the compositor was started up, would require changing the WAYLAND_DISPLAY environment variable.
Diffstat (limited to 'include/wlr/backend')
-rw-r--r--include/wlr/backend/wayland.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/backend/wayland.h b/include/wlr/backend/wayland.h
index b10ffee3..02ee5b2d 100644
--- a/include/wlr/backend/wayland.h
+++ b/include/wlr/backend/wayland.h
@@ -12,7 +12,7 @@
* Creates a new wlr_wl_backend. This backend will be created with no outputs;
* you must use wlr_wl_output_create to add them.
*/
-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.