Merge branch 'feature/KASM-2242_clipboard_behavior' into 'master'

Resolve KASM-2242 "Feature/ clipboard behavior"

Closes KASM-2242

See merge request kasm-technologies/internal/KasmVNC!24
pull/89/head
Matthew McClaskey 3 years ago
commit c3551f807c

@ -1 +1 @@
Subproject commit 9383783efd57245b91114cea85cf8cdab3433e0f Subproject commit df9c9d0d96acef17423c237fea9497850a6c1c17

@ -733,13 +733,6 @@ static void vncSelectionCallback(CallbackListPtr *callbacks,
LOG_DEBUG("Selection owner change for %s", LOG_DEBUG("Selection owner change for %s",
NameForAtom(info->selection->selection)); NameForAtom(info->selection->selection));
/*
* If we're the previous owner of this selection, then we're also the
* owner of _the other_ selection. Make sure we drop all ownerships so
* we either own both selections or nonw.
*/
DeleteWindowFromAnySelections(pWindow);
if ((info->selection->selection != xaPRIMARY) && if ((info->selection->selection != xaPRIMARY) &&
(info->selection->selection != xaCLIPBOARD)) (info->selection->selection != xaCLIPBOARD))
return; return;

Loading…
Cancel
Save