diff --git a/src/xwayland/primary.cpp b/src/xwayland/primary.cpp index 9a44bf19e4..6023c24d2d 100644 --- a/src/xwayland/primary.cpp +++ b/src/xwayland/primary.cpp @@ -146,6 +146,9 @@ void Primary::doHandleXfixesNotify(xcb_xfixes_selection_notify_event_t *event) void Primary::x11OffersChanged(const QStringList &added, const QStringList &removed) { + Q_UNUSED(added) + Q_UNUSED(removed) + m_waitingForTargets = false; X11Source *source = x11Source(); if (!source) {