mirror of
https://github.com/hyprwm/Hyprland
synced 2025-12-20 05:50:15 +01:00
Merge 104493dfb4 into f88deb928a
This commit is contained in:
commit
6209674215
1 changed files with 0 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue