mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-05 07:15:31 -04:00
ensure session is created so that calls to wlr_session_change_vt are effective
This commit is contained in:
parent
577d8da6d1
commit
1995b1cc31
1 changed files with 2 additions and 0 deletions
2
dwl.c
2
dwl.c
|
|
@ -2285,6 +2285,8 @@ setup(void)
|
||||||
* clients from the Unix socket, manging Wayland globals, and so on. */
|
* clients from the Unix socket, manging Wayland globals, and so on. */
|
||||||
dpy = wl_display_create();
|
dpy = wl_display_create();
|
||||||
|
|
||||||
|
session = wlr_session_create(dpy);
|
||||||
|
|
||||||
/* The backend is a wlroots feature which abstracts the underlying input and
|
/* The backend is a wlroots feature which abstracts the underlying input and
|
||||||
* output hardware. The autocreate option will choose the most suitable
|
* output hardware. The autocreate option will choose the most suitable
|
||||||
* backend based on the current environment, such as opening an X11 window
|
* backend based on the current environment, such as opening an X11 window
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue