diff --git a/src/xwayland/XWM.cpp b/src/xwayland/XWM.cpp index 48afe3aba..f4ddbcb24 100644 --- a/src/xwayland/XWM.cpp +++ b/src/xwayland/XWM.cpp @@ -631,11 +631,6 @@ void CXWM::handleSelectionNotify(xcb_selection_notify_event_t* e) { sel->transfers.erase(it); } } else if (e->target == HYPRATOMS["TARGETS"]) { - if (!m_focusedSurface) { - Debug::log(TRACE, "[xwm] denying access to write to clipboard because no X client is in focus"); - return; - } - setClipboardToWayland(*sel); } else if (!sel->transfers.empty()) getTransferData(*sel);