Yet another attempt at fixing clipboards. This time we detect when a
commit55ae602df45f2bca396f0fcb919e6f868e2b9a65
authorMarco Peereboom <marco@conformal.com>
Tue, 2 Aug 2011 21:49:44 +0000 (2 21:49 +0000)
committerMarco Peereboom <marco@conformal.com>
Tue, 2 Aug 2011 21:49:44 +0000 (2 21:49 +0000)
tree10c510b78a0ed1aa4975d023feeb2d424fff8074
parentb142f26cfa74b14cb89c01a26c23bd9ed30cb52f
Yet another attempt at fixing clipboards.  This time we detect when a
selection is reset and when that happens we copy CUT_BUFFER0 into the
primary clipboard.

If one wants to make clipboard and primary the same so that
ctrl-v/shift-insert can be used on the same content then one needs to
use the xterm translations.  For example add something like this to
.xDefaults:
XTerm*VT100.translations: #override <Btn1Up>: select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0)
xxxterm.c