Re: Selection stuff horked

2002-03-19 Thread Juergen Vigna
On 19-Mar-2002 John Levon wrote: >> > The solution is to check if the buffer has changed since last_sel was >> > generated. > > sorry, how do I do this ? Well if you would use the patch I sent for this it would work automatically also for buffer changes! Jug -- -._-._-._-._-._-._-._-

Re: Selection stuff horked

2002-03-19 Thread John Levon
On Tue, Mar 19, 2002 at 12:03:12PM +0100, Lars Gullik Bjønnes wrote: > | Oh and I think I know the problem, Lars recent change is broken. We must > | return 0 in the case of SelectionRequest - we have NOT handled the event > | ! > > We havent? Why not? Handling the event requires sending back a

Re: Selection stuff horked

2002-03-19 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | On Tue, Mar 19, 2002 at 12:32:07PM +0200, Dekel Tsur wrote: > >> The solution is to check if the buffer has changed since last_sel was >> generated. > | Yes, thanks. > | Oh and I think I know the problem, Lars recent change is broken. We must | return 0 in

Re: Selection stuff horked

2002-03-19 Thread John Levon
On Tue, Mar 19, 2002 at 10:52:23AM +, John Levon wrote: > > The solution is to check if the buffer has changed since last_sel was > > generated. sorry, how do I do this ? regards john -- I am a complete moron for forgetting about endianness. May I be forever marked as such.

Re: Selection stuff horked

2002-03-19 Thread John Levon
On Tue, Mar 19, 2002 at 12:32:07PM +0200, Dekel Tsur wrote: > The solution is to check if the buffer has changed since last_sel was > generated. Yes, thanks. Oh and I think I know the problem, Lars recent change is broken. We must return 0 in the case of SelectionRequest - we have NOT handled t

Re: Selection stuff horked

2002-03-19 Thread Dekel Tsur
On Tue, Mar 19, 2002 at 12:58:00AM +, John Levon wrote: > > I don't get it, it was working fine. Now it just plain sometimes > doesn't work for me. Can anyone esle see this (especially not using > KDE) ? > > Basically run -dbg gui, select some text, middle mouse button elsewhere, > putClipbo

Re: Selection stuff horked

2002-03-18 Thread John Levon
On Tue, Mar 19, 2002 at 12:58:00AM +, John Levon wrote: > I don't get it, it was working fine. Now it just plain sometimes > doesn't work for me. Can anyone esle see this (especially not using > KDE) ? This is nuts. Changing the code to actually handle the SelectionRequest directly seems to

Selection stuff horked

2002-03-18 Thread John Levon
I don't get it, it was working fine. Now it just plain sometimes doesn't work for me. Can anyone esle see this (especially not using KDE) ? Basically run -dbg gui, select some text, middle mouse button elsewhere, putClipboard is called etc. but nothing appears and the other application seems to