diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-10-29 23:18:12 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2021-06-20 20:12:51 +0200 |
commit | e42ab9831beae06e0a3a08b6c12a58b6e71e4380 (patch) | |
tree | 94aab7d3c2251c79cd9cc3af309a1b8e9be3e12b | |
parent | a8b375079af4601f3d42ff28bd57a2818a202d99 (diff) | |
download | nx-libs-e42ab9831beae06e0a3a08b6c12a58b6e71e4380.tar.gz nx-libs-e42ab9831beae06e0a3a08b6c12a58b6e71e4380.tar.bz2 nx-libs-e42ab9831beae06e0a3a08b6c12a58b6e71e4380.zip |
Clipboard.c: fix some whitepace, comments and FIXMEs
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 9 |
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 */ |