From 1995b1cc31745772f88ff0121c2348d648616753 Mon Sep 17 00:00:00 2001 From: Denis Chevalier Date: Mon, 15 Apr 2024 17:29:56 +0200 Subject: [PATCH] ensure session is created so that calls to wlr_session_change_vt are effective --- dwl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dwl.c b/dwl.c index bf763df..8b09f63 100644 --- a/dwl.c +++ b/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