ensure session is created so that calls to wlr_session_change_vt are effective

This commit is contained in:
Denis Chevalier 2024-04-15 17:29:56 +02:00
parent 577d8da6d1
commit 1995b1cc31
No known key found for this signature in database
GPG Key ID: 30FAF4354A1B41FB

2
dwl.c
View File

@ -2285,6 +2285,8 @@ setup(void)
* clients from the Unix socket, manging Wayland globals, and so on. */
dpy = wl_display_create();
session = wlr_session_create(dpy);
/* The backend is a wlroots feature which abstracts the underlying input and
* output hardware. The autocreate option will choose the most suitable
* backend based on the current environment, such as opening an X11 window