From 3a3007a42fd846aa494270f8181717e13a548142 Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 24 Mar 2010 19:33:22 +0000 Subject: [PATCH 1/1] Fill in a long-missing comment marked as FIXME. git-svn-id: svn://svn.tartarus.org/sgt/utils@8907 cda61777-01e9-0310-a592-d414129be87e --- xcopy/xcopy.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/xcopy/xcopy.c b/xcopy/xcopy.c index 5847504..5a654a0 100644 --- a/xcopy/xcopy.c +++ b/xcopy/xcopy.c @@ -331,7 +331,13 @@ int init_X(void) { /* do selection fiddling */ if (reading) { /* - * We are reading the selection, so we must FIXME. + * We are reading the selection. Call XConvertSelection to + * request transmission of the selection data in the + * appropriate format; the X event loop will then wait to + * receive the data from the selection owner. + * + * If there is no selection owner, look in the cut buffer + * property on the root window. */ if (XGetSelectionOwner(disp, sel_atom) == None) { /* No primary selection, so use the cut buffer. */ -- 2.11.0