aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-03-17 22:44:35 +0100
committerUlrich Sibiller <uli42@gmx.de>2021-06-20 20:12:51 +0200
commitbee3d3205655b5e624c1fd25816f078d0850c74c (patch)
tree56d03f979c4f84bc224b0343161d078c6aa608e5
parent0631eece96650afb3715a5c5009005914f90a9b4 (diff)
downloadnx-libs-bee3d3205655b5e624c1fd25816f078d0850c74c.tar.gz
nx-libs-bee3d3205655b5e624c1fd25816f078d0850c74c.tar.bz2
nx-libs-bee3d3205655b5e624c1fd25816f078d0850c74c.zip
NXEvents.c: improve debugging
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXevents.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXevents.c b/nx-X11/programs/Xserver/hw/nxagent/NXevents.c
index 50ecef09b..0249fc0a8 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXevents.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXevents.c
@@ -433,6 +433,9 @@ ProcSendEvent(ClientPtr client)
if (stuff -> event.u.u.type == SelectionNotify)
{
+ #ifdef DEBUG
+ fprintf(stderr, "%s: sending SelectionNotify to ourselves"\n, __func__);
+ #endif
if (nxagentSendNotificationToSelfViaXServer(&stuff->event) == 1)
return Success;
}