[X2Go-Commits] [nx-libs] 424/429: Clipboard.c: Add debug output when selection is already cleared

git-admin at x2go.org git-admin at x2go.org
Mon Oct 18 09:37:19 CEST 2021


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 8264b03e8df725c475e43faf34a681a199f6fa7e
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Mon Jun 21 23:14:25 2021 +0200

    Clipboard.c: Add debug output when selection is already cleared
---
 nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 3b08c1133..72ca6ac64 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -931,6 +931,12 @@ void nxagentHandleSelectionClearFromXServerByIndex(int index)
 
     invalidateTargetCache(index);
   }
+  else
+  {
+    #ifdef DEBUG
+    fprintf(stderr, "%s: selection already cleared - doing nothing.\n", __func__);
+    #endif
+  }
 }
 
 void nxagentHandleSelectionClearFromXServerByAtom(XlibAtom sel)

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list