diff --git a/wayland_server.cpp b/wayland_server.cpp index 188d5b4e34..88c9b4e5c0 100644 --- a/wayland_server.cpp +++ b/wayland_server.cpp @@ -102,6 +102,11 @@ int WaylandServer::createXWaylandConnection() return -1; } m_xwaylandConnection = m_display->createClient(sx[0]); + connect(m_xwaylandConnection, &KWayland::Server::ClientConnection::disconnected, this, + [] { + qFatal("Xwayland Connection died"); + } + ); return sx[1]; }