From 3c6226f03d8f6f6e811a9ff8efe1865ab031085c Mon Sep 17 00:00:00 2001 From: Matthew McClaskey Date: Mon, 31 Jan 2022 14:50:59 +0000 Subject: [PATCH] Resolve KASM-2242 "Feature/ clipboard behavior" --- kasmweb | 2 +- unix/xserver/hw/vnc/vncSelection.c | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/kasmweb b/kasmweb index 9383783..df9c9d0 160000 --- a/kasmweb +++ b/kasmweb @@ -1 +1 @@ -Subproject commit 9383783efd57245b91114cea85cf8cdab3433e0f +Subproject commit df9c9d0d96acef17423c237fea9497850a6c1c17 diff --git a/unix/xserver/hw/vnc/vncSelection.c b/unix/xserver/hw/vnc/vncSelection.c index bdadd70..c4a90bf 100644 --- a/unix/xserver/hw/vnc/vncSelection.c +++ b/unix/xserver/hw/vnc/vncSelection.c @@ -733,13 +733,6 @@ static void vncSelectionCallback(CallbackListPtr *callbacks, LOG_DEBUG("Selection owner change for %s", 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) && (info->selection->selection != xaCLIPBOARD)) return;