diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-01-17 08:27:47 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-01-17 08:27:47 -0500 |
commit | 43896af90fbd6c743be1e54a0659d7c0f89eaa00 (patch) | |
tree | c9d0907dbdc9932b593cf154f4ebce6db5a27e2d /include/wlr/backend | |
parent | b40a5f084abeb5530b3a0097c946ba720c897262 (diff) | |
parent | f2698a896085a5a2dd651a7f1d4fb623d567acf4 (diff) |
Merge branch 'master' into modifier-fixes
Diffstat (limited to 'include/wlr/backend')
-rw-r--r-- | include/wlr/backend/wayland.h | 6 |
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. |