config: drop xwayland persistence workaround for wlroots < 0.18.2

We enabled xwayland persistence for wlroots < 0.18.2 to prevent crashes,
but it's no longer needed since we now depend on wlroots 0.19.
This commit is contained in:
tokyo4j 2025-05-21 20:51:13 +09:00 committed by Hiroaki Yamamoto
parent 7969aa267e
commit b299404811
3 changed files with 3 additions and 30 deletions

View file

@ -173,7 +173,7 @@ this is for compatibility with Openbox.
<allowTearing>no</allowTearing>
<autoEnableOutputs>yes</autoEnableOutputs>
<reuseOutputMode>no</reuseOutputMode>
<xwaylandPersistence>yes</xwaylandPersistence>
<xwaylandPersistence>no</xwaylandPersistence>
</core>
```
@ -228,12 +228,7 @@ this is for compatibility with Openbox.
*<core><xwaylandPersistence>* [yes|no]
Keep XWayland alive even when no clients are connected, rather than
using a "lazy" policy that allows the server to launch on demand and die
when it is no longer needed.
When labwc is compiled with wlroots 0.18.2 or later, the default is no.
When labwc is compiled with wlroots < 0.18.2, the default is yes to
avoid a wlroots bug that can result in compositor crashes when
performing drag-and-drop actions when the XWayland server is shut down.
when it is no longer needed. Default is no.
Note: changing this setting requires a restart of labwc.