Re: [dev] st: selecting text affects both primary and clipbaord

From: Wander Nauta <info_AT_wandernauta.nl>
Date: Fri, 20 Feb 2015 00:46:20 +0100

Hello list,

I know this isn't a democracy, but I agree with Greg, it makes more
sense to only set PRIMARY, not CLIPBOARD, in selcopy. Removing the
clipboard-related lines from xsetsel seems to do the trick. I've
attached a patch that does just that.

Cheers,
Wander

On Thu, Feb 19, 2015 at 10:30 PM, Greg Reagle <greg.reagle_AT_umbc.edu> wrote:
> When I select text in st using the mouse, it sets both the primary
> selection and the clipboard selection. It should only set the primary
> selection. The clipboard is supposed to be only for explicitly
> requested copying.
>
> From
> http://standards.freedesktop.org/clipboards-spec/clipboards-latest.txt:
>
> Application authors should follow the following guidelines to get
> correct behavior:
>
> - selecting but with no explicit copy should only set PRIMARY,
> never CLIPBOARD
>
> --
> http://www.fastmail.com - IMAP accessible web-mail
>
>

Received on Fri Feb 20 2015 - 00:46:20 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 20 2015 - 00:48:07 CET