aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-09-23 16:51:37 +0200
committerUlrich Sibiller <uli42@gmx.de>2021-06-20 20:12:50 +0200
commit3682be5941c549c9fc215575d01261fae6c1fa63 (patch)
tree08c7053c013560d2567bde2edc7b25ff6d2a5a3d /nx-X11/programs/Xserver
parentd2370a1ba10faffeca51d78695e8c58f4715f06e (diff)
downloadnx-libs-3682be5941c549c9fc215575d01261fae6c1fa63.tar.gz
nx-libs-3682be5941c549c9fc215575d01261fae6c1fa63.tar.bz2
nx-libs-3682be5941c549c9fc215575d01261fae6c1fa63.zip
Clipboard.c: mark self-initiated event
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c5
1 files changed, 5 insertions, 0 deletions
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,