On Tue, Jan 29, 2002 at 06:55:04PM +0000, John Levon wrote: > > Could it be related to the new XSelection stuff? > > At a guess, what is happening here is that somewhere X is requesting the primary >selection > contents as the window is being destroyed. At least I assume that's where >selectionRequested() > is coming from. > > JMarc, what's the best fix do you think ? add if (available()) to >selectionRequested() ?
I don't know if it is related, but the selection code has the following bug: If you select some text in LyX, and then you select some text in a different application, the LyX selection is not cleared.