diff --git a/helpers/xclipboardsync/waylandclipboard.cpp b/helpers/xclipboardsync/waylandclipboard.cpp index fec5643b2c..7702089087 100644 --- a/helpers/xclipboardsync/waylandclipboard.cpp +++ b/helpers/xclipboardsync/waylandclipboard.cpp @@ -44,6 +44,7 @@ WaylandClipboard::WaylandClipboard(QObject *parent) , m_thread(new QThread) , m_connectionThread(new ConnectionThread) { + m_connectionThread->setSocketFd(qgetenv("WAYLAND_SOCKET").toInt()); m_connectionThread->moveToThread(m_thread); m_thread->start();