warren@amc.UUCP (Warren Omohundro) (04/22/88)
Environment: Hardware- Sun 3/50, OS-Sun 3.4, X- X.V11R2, Fixes- none applied
Problem:
I have two windows, 'A' and 'B'. 'A' calls
XSetSelectionOwner(..., XA_PRIMARY, 'A', CurrentTime);
Any calls to XConvertSelection send the proper SelectionRequest events
to 'A' and the selected data can be passed properly via SelectionNotify.
At some later time, 'B' calls
XSetSelectionOwner(..., XA_PRIMARY, 'B', CurrentTime);
Again, calls to XConvertSelection can retrieve the proper data from 'B'.
However, window 'A' never received a SelectionClear event. This used
to work under X.V11R1. I need to know if this is 1) a problem with
X.V11R2, 2) a problem with the Sun specific code, or 3) a problem with
my understanding of the documentation.
Please reply if any of you can tell me what is going on. I hesitate to
report this as a bug considering how obvious it is. I suspect a flaw
in my understanding.
The documentation on fixes 1 - 11 does not mention SelectionClear, and I
do not apply patches unless they address a specific problem I am having.
Thanks in advance.