mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-26 17:54:14 +00:00
ensure session is created so that calls to wlr_session_change_vt are effective
This commit is contained in:
parent
577d8da6d1
commit
1995b1cc31
2
dwl.c
2
dwl.c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user