[X2Go-Commits] [nx-libs] 329/429: Clipboard.c: mark self-initiated event
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 18 09:36:58 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 3682be5941c549c9fc215575d01261fae6c1fa63
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Wed Sep 23 16:51:37 2020 +0200
Clipboard.c: mark self-initiated event
---
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 e53b454da..605716e9d 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -1439,6 +1439,11 @@ void nxagentHandleSelectionNotifyFromXServer(XEvent *X)
char * p = XGetAtomName(nxagentDisplay, e->property);
char * t = XGetAtomName(nxagentDisplay, e->target);
char * s = XGetAtomName(nxagentDisplay, e->selection);
+ if (e->requestor == serverWindow)
+ {
+ fprintf(stderr, "%s: this event has been sent by nxagent!\n", __func__);;
+ }
+
fprintf(stderr, "%s: SelectionNotify event from real X server, property " \
"[%ld][%s] requestor [0x%lx] selection [%s] target [%ld][%s] time [%lu] send_event [%d].\n",
__func__, e->property, validateString(p), e->requestor,
--
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