[X2Go-Commits] [nx-libs] 359/429: Clipboard.c: fix some whitepace, comments and FIXMEs
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 18 09:37:07 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 e42ab9831beae06e0a3a08b6c12a58b6e71e4380
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Thu Oct 29 23:18:12 2020 +0100
Clipboard.c: fix some whitepace, comments and FIXMEs
---
nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 9 ++++-----
1 file 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 */
--
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