Rémi Bernon (@rbernon) commented about dlls/winewayland.drv/dllmain.c:
#include "waylanddrv_dll.h"
+static DWORD WINAPI wayland_read_events_thread(void *arg) +{
- WAYLANDDRV_UNIX_CALL(read_events, NULL);
- /* This thread terminates only if an unrecoverable error occurred
* during event reading (e.g., the connection to the Wayland
* compositor is broken). */
- TerminateProcess(GetCurrentProcess(), 1);
You probably should print an `ERR` message.