Skip to content

Commit

Permalink
Update desktop if clipboard client goes away
Browse files Browse the repository at this point in the history
So the current clipboard state is properly reflected in the desktop
session.
  • Loading branch information
CendioOssman committed Jan 5, 2021
1 parent d6612d8 commit 49122f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/rfb/VNCServerST.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ void VNCServerST::removeSocket(network::Socket* sock) {
if (pointerClient == *ci)
pointerClient = NULL;
if (clipboardClient == *ci)
clipboardClient = NULL;
handleClipboardAnnounce(*ci, false);
clipboardRequestors.remove(*ci);

// - Delete the per-Socket resources
Expand Down

0 comments on commit 49122f6

Please sign in to comment.