On Mon, 30 Aug 2010, Timo Juhani Lindfors wrote:

Thomas Dickey <dic...@his.com> writes:
...and it seems to work.  If you did not invoke the select-end, and
started selecting again with the mouse, then that would discard the
selection.

Odd.

...just complicated.  But your followup was helpful.

=> Clipboard contents did not change at all. Are you sure clipboard
contents changed in your case and not just the primary selection?

I was actually reading the debugging trace.  But using your script,
I do see a difference.  It was actually copying to primary based on
this line in the default translations:

 <BtnUp>:select-end(SELECT, CUT_BUFFER0) \n\

changing that to

 <BtnUp>:ignore() \n\

lets the keypress translation do what you want.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100829180256.v28...@mail101.his.com

Reply via email to