aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 03f9d2554..3842df30e 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -1100,7 +1100,7 @@ void nxagentHandleSelectionRequestFromXServer(XEvent *X)
#endif
{
if (!(nxagentOption(Clipboard) == ClipboardServer ||
- nxagentOption(Clipboard) == ClipboardBoth))
+ nxagentOption(Clipboard) == ClipboardBoth))
{
#ifdef DEBUG
fprintf (stderr, "%s: clipboard (partly) disabled - denying request.\n", __func__);
@@ -1164,7 +1164,7 @@ void nxagentHandleSelectionRequestFromXServer(XEvent *X)
}
else
{
- x.u.selectionRequest.target = nxagentRemoteToLocalAtom(X->xselectionrequest.target);
+ x.u.selectionRequest.target = nxagentRemoteToLocalAtom(X->xselectionrequest.target);
}
sendEventToClient(lastSelectionOwner[index].client, &x);
@@ -1179,7 +1179,7 @@ void nxagentHandleSelectionRequestFromXServer(XEvent *X)
x.u.selectionRequest.selection, NameForIntAtom(x.u.selectionRequest.selection));
#endif
/* no reply to Xserver yet - we will do that once the answer of
- the above sendEventToClient arrives */
+ the above sendEventToClient arrives */
}
else
{
@@ -2086,7 +2086,7 @@ FIXME
/*
* This is called from dix (ProcConvertSelection) if an nxagent client
- * issues a ConvertSelection request. So all the Atoms are internal
+ * issues a ConvertSelection request. So all the Atoms are internal.
* return codes:
* 0: let dix process the request
* 1: don't let dix process the request
@@ -2417,7 +2417,6 @@ int nxagentConvertSelection(ClientPtr client, WindowPtr pWin, Atom selection,
UpdateCurrentTime();
XConvertSelection(nxagentDisplay, remSelection, remTarget, remProperty,
serverWindow, CurrentTime);
-
/* XConvertSelection will always return 1 (check the source!), so no
need to check */