mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Open X11 Window
This commit is contained in:
parent
a598e6d026
commit
7ad2a57feb
5 changed files with 114 additions and 9 deletions
|
|
@ -80,7 +80,7 @@ struct wlr_backend *wlr_backend_autocreate(struct wl_display *display) {
|
|||
|
||||
const char *x11_display = getenv("DISPLAY");
|
||||
if (x11_display) {
|
||||
return wlr_x11_backend_create(x11_display);
|
||||
return wlr_x11_backend_create(display, x11_display);
|
||||
}
|
||||
|
||||
// Attempt DRM+libinput
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue