Fill in a long-missing comment marked as FIXME.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 24 Mar 2010 19:33:22 +0000 (19:33 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 24 Mar 2010 19:33:22 +0000 (19:33 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/utils@8907 cda61777-01e9-0310-a592-d414129be87e

xcopy/xcopy.c

index 5847504..5a654a0 100644 (file)
@@ -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. */