From 9226abf6673fa5378f59ef76226472de07f81e85 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Sun, 17 Nov 2019 16:29:02 +0100 Subject: Clipboard.c: add FIXMEs --- nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nx-X11/programs') 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] " -- cgit v1.2.3