aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-11-17 16:29:02 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-01-05 23:36:02 +0100
commit9226abf6673fa5378f59ef76226472de07f81e85 (patch)
treebaf85d148f30ec049aeadae9d214789c5a4c2e0b
parent5540a14925a0145444bf11c507d53bbcf633508a (diff)
downloadnx-libs-9226abf6673fa5378f59ef76226472de07f81e85.tar.gz
nx-libs-9226abf6673fa5378f59ef76226472de07f81e85.tar.bz2
nx-libs-9226abf6673fa5378f59ef76226472de07f81e85.zip
Clipboard.c: add FIXMEs
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 52f06f47d..623b7a642 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -795,6 +795,7 @@ void nxagentRequestSelection(XEvent *X)
* used to obtain the selection.
*
* FIXME: ensure we are reporting an _external_ timestamp
+ * FIXME: for a 32 bit property list we need to pass a "long" array, not "char"!
*/
int i = nxagentFindLastSelectionOwnerIndex(X->xselectionrequest.selection);
@@ -1816,6 +1817,8 @@ int nxagentConvertSelection(ClientPtr client, WindowPtr pWin, Atom selection,
/*
* The same client made consecutive requests of clipboard content
* with less than 5 seconds time interval between them.
+ * FIXME: this does not take the selection into account, so a
+ * client requesting PRIMARY and CLIPBOARD would match here, too
*/
fprintf(stderr, "%s: Consecutives request from client [%p] selection [%u] "