mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-09-07 11:44:51 +00:00
941 B
941 B
Description
When your Wayland compositor crashes, your entire session dies with it. This patch allows your session to survive a restart or crash of dwl by passing in the Wayland socket from an outside wrapper program such as wl-restart.
To use, apply this patch and start dwl with wl-restart --env dwl [args...]
.
This automatically restarts dwl when it crashes and tries to keep applications
alive.
Currently, only Qt6 supports surviving a compositor restart. The
environment variable QT_WAYLAND_RECONNECT=1
needs to be set in order for Qt
apps to stay alive when the compositor crashes.