aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-06-16 20:44:16 +0200
committerUlrich Sibiller <uli42@gmx.de>2021-06-20 20:12:51 +0200
commit62775ed673e4c3008b48dad2a4659271d5e02b02 (patch)
tree198d7820e42fff1224f826c66033fd92f31decbf /nx-X11/programs/Xserver/hw/nxagent
parentd42ebd2aeca80efa926fedd49d2aef75bd4e28ea (diff)
downloadnx-libs-62775ed673e4c3008b48dad2a4659271d5e02b02.tar.gz
nx-libs-62775ed673e4c3008b48dad2a4659271d5e02b02.tar.bz2
nx-libs-62775ed673e4c3008b48dad2a4659271d5e02b02.zip
Clipboard.c: rename intermediate variable
Using a capital letter here better reflects that this is an event from the real X server.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 00a2dd1fd..326f62ca7 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -1835,27 +1835,27 @@ void nxagentHandleSelectionNotifyFromXServer(XEvent *X)
return;
}
- XSelectionEvent * e = (XSelectionEvent *)X;
+ XSelectionEvent *E = (XSelectionEvent *)X;
#ifdef DEBUG
fprintf(stderr, "---------\n%s: Received 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, NameForRemoteAtom(e->property), e->requestor,
- NameForRemoteAtom(e->selection), e->target,
- NameForRemoteAtom(e->target), e->time, e->send_event);
+ __func__, E->property, NameForRemoteAtom(E->property), E->requestor,
+ NameForRemoteAtom(E->selection), E->target,
+ NameForRemoteAtom(E->target), E->time, E->send_event);
/* this has not been SENT by nxagent but is the answer to a request of nxagent */
- if (e->requestor == serverWindow)
+ if (E->requestor == serverWindow)
{
fprintf(stderr, "%s: requestor is nxagent's serverWindow!\n", __func__);;
}
#endif
/* determine the selection we are talking about here */
- int index = nxagentFindLastSelectionOwnerIndex(e->selection);
+ int index = nxagentFindLastSelectionOwnerIndex(E->selection);
if (index == -1)
{
#ifdef DEBUG
- fprintf (stderr, "%s: unknown selection [%ld] .\n", __func__, e->selection);
+ fprintf (stderr, "%s: unknown selection [%ld] .\n", __func__, E->selection);
#endif
return;
}