[comp.windows.x] AtomPtr in Text Widget

po@volta.ece.utexas.edu (02/10/89)

I have a program that uses the Athena Text Widget.
I installed my own procedure for selecting word using:

    static XtActionsRec actionTable[] = {
        {"MySelectWord", (XtActionProc) MySelectWord},
        {NULL, NULL}
    };
    static String translations = "\
        <Btn1Up>(2):    MySelectWord()";

After selecting a word, I tried to paste it (with middle button)
into a window outside of this application, I got this message:

	X Toolkit Error: AtomPtr was not initialized

This problem does not occur if the paste (middle) button has been
pressed inside the application first before it is pressed outside.

Would someone please explain what does the error message mean, and
what is exactly going on?

Thank you,
  Po