Le Fri, Nov 10, 2023 at 07:59:08PM +0000, Matthieu Herrb a écrit : > Hi, > > Currently the sway exit function (Cmd-E) is broken, there is a sway > process that stays around, stuck in pthread_join() for the udev > thread. > > The patch below cancels the thread before joining it and fixes the > issue. (original code uses a pile to communicate and > catches the poll() event that the pipe was closed to exit) . > > comments? ok?
i've experienced the issue, eg doing 'swaymsg exit' left me with a black screen and i had to ssh and kill the sway process to get my VT back, and with that patch i can confirm that 'swaymsg exit' now properly exits sway and the VT where i started wayland from is correctly restored to its original state.. so ok for me, and thanks matthieu@ !