mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-07-10 11:17:10 +02:00
Resolve KASM-2242 "Feature/ clipboard behavior"
This commit is contained in:
2
kasmweb
2
kasmweb
Submodule kasmweb updated: 9383783efd...df9c9d0d96
@ -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;
|
||||||
|
Reference in New Issue
Block a user