Re: [hackers] [st] make clipboard patch obsolete || Anselm R Garbe

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Fri, 1 Sep 2017 15:25:55 +0200

On Fri, Sep 01, 2017 at 09:48:58AM +0200, git_AT_suckless.org wrote:
> commit 77c51c5a6b16387f1792e23acbcf2080f790aa25
> Author: Anselm R Garbe <anselm_AT_garbe.us>
> AuthorDate: Fri Sep 1 09:48:24 2017 +0200
> Commit: Anselm R Garbe <anselm_AT_garbe.us>
> CommitDate: Fri Sep 1 09:48:24 2017 +0200
>
> make clipboard patch obsolete
>
> diff --git a/x.c b/x.c
> index fbfd350..ab9593e 100644
> --- a/x.c
> +++ b/x.c
> _AT_@ -507,6 +507,7 @@ xsetsel(char *str, Time t)
> XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t);
> if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win)
> selclear_(NULL);
> + xclipcopy();
> }
>
> void
>

Is this wanted behaviour as a default?

In my usage the separation of the clipboards (primary, secondary, clipboard)
are useful. For example I use the primary clipboard contents for my "plumber"
script.

-- 
Kind regards,
Hiltjo
Received on Fri Sep 01 2017 - 15:25:55 CEST

This archive was generated by hypermail 2.3.0 : Fri Sep 01 2017 - 15:37:13 CEST