[X2Go-Commits] [nx-libs] 419/429: Clipboard.c: print debug message if selection is already cleared

git-admin at x2go.org git-admin at x2go.org
Mon Oct 18 09:37:18 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 bbf9d74c40354974cdb6023ade47bf7d8be26330
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Mon Jun 21 22:26:12 2021 +0200

    Clipboard.c: print debug message if 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 09c7eb2c2..20a380817 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -927,6 +927,12 @@ void nxagentHandleSelectionClearFromXServer(XEvent *X)
 
       invalidateTargetCache(index);
     }
+    #ifdef DEBUG
+    else
+    {
+      fprintf(stderr, "%s: selection already cleared - doing nothing.\n", __func__);
+    }
+    #endif
   }
 }
 

--
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