mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
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.
This commit is contained in:
parent
03faf17942
commit
c00e9d1416
3 changed files with 4 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue