From: simon Date: Wed, 24 Mar 2010 19:33:22 +0000 (+0000) Subject: Fill in a long-missing comment marked as FIXME. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/utils/commitdiff_plain/3a3007a42fd846aa494270f8181717e13a548142?hp=a3256cf7bb5dea3d0e638f597a821423a246cb33 Fill in a long-missing comment marked as FIXME. git-svn-id: svn://svn.tartarus.org/sgt/utils@8907 cda61777-01e9-0310-a592-d414129be87e --- 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. */