This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 6fe8bf8fbaf955a4bffb98507a1ebeed00aff593 Author: Ulrich Sibiller <uli42@gmx.de> Date: Tue Mar 2 23:14:48 2021 +0100 Clipboard.c: always flush after XConvertSelection() call This ensures the convert will be sent out immediately. --- nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c index 7fefd5ee1..d96a9946a 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c @@ -1272,6 +1272,8 @@ void nxagentHandleSelectionRequestFromXServer(XEvent *X) X->xselectionrequest.target, serverTransToAgentProperty, serverWindow, lastClients[index].time); + NXFlushDisplay(nxagentDisplay, NXFlushLink); + #ifdef DEBUG fprintf(stderr, "%s: Sent XConvertSelection: selection [%d][%s] target [%ld][%s] property [%ld][%s] window [0x%lx] time [%u] .\n", __func__, CurrentSelections[index].selection, NameForRemAtom(CurrentSelections[index].selection)), @@ -2839,6 +2841,9 @@ int nxagentConvertSelection(ClientPtr client, WindowPtr pWin, Atom selection, XConvertSelection(nxagentDisplay, remSelection, remTarget, remProperty, serverWindow, CurrentTime); + + NXFlushDisplay(nxagentDisplay, NXFlushLink); + /* XConvertSelection will always return 1 (check the source!), so no need to check the return code. */ -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git