love@aspen.cs.uiuc.edu (Christopher Love) (12/02/90)
If my application currently owns a selection (i.e. XA_PRIMARY), and I subsequently do XSetSelectionOwner(dpy,selection,None); to set the owner to None, should my application expect a SelectionClear event? Currently I am not seeing such an event, but was curious if this was standard behaviour or due to the implementation of X I'm using. (X11R3 on HP9000). -Chris -- Christopher J. Love ||Epoch Development Team, University of Illinois love@cs.uiuc.edu || "We are marching for dear old Illini..."
karlton@sgi.com (Phil Karlton) (12/06/90)
In article <LOVE.90Dec1152126@aspen.cs.uiuc.edu>, love@aspen.cs.uiuc.edu (Christopher Love) writes: |> If my application currently owns a selection (i.e. XA_PRIMARY), and I |> subsequently do |> XSetSelectionOwner(dpy,selection,None); |> to set the owner to None, should my application expect a SelectionClear |> event? Currently I am not seeing such an event, but ... Well you should get the event. See the documentation on XSetSelectionOwner. I do notice that you haven't passed a time stamp in the piece of code above. If that is really how you've coded it, then you merely have a bug in your client code. PK