sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit 8adf413070613e84de6270c388dc9790dfe5915e
parent 1f96c60c0e4453fc9c105551d58455936b0784d9
Author: Kai Hendry <hendry@webconverger.com>
Date:   Tue, 15 May 2018 15:41:40 +0800

0.8.1's clipboard patch

Diffstat:
st.suckless.org/patches/clipboard/index.md | 1+
st.suckless.org/patches/clipboard/st-clipboard-0.8.1.diff | 13+++++++++++++
2 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/st.suckless.org/patches/clipboard/index.md b/st.suckless.org/patches/clipboard/index.md @@ -15,6 +15,7 @@ CLIPBOARD. Download -------- +* [st-clipboard-0.8.1.diff](st-clipboard-0.8.1.diff) * [st-clipboard-0.6.diff](st-clipboard-0.6.diff) * [st-clipboard-0.7.diff](st-clipboard-0.7.diff) * [st-clipboard-20160727-308bfbf.diff](st-clipboard-20160727-308bfbf.diff) diff --git a/st.suckless.org/patches/clipboard/st-clipboard-0.8.1.diff b/st.suckless.org/patches/clipboard/st-clipboard-0.8.1.diff @@ -0,0 +1,13 @@ +diff --git a/x.c b/x.c +index c343ba2..f2a4f65 100644 +--- a/x.c ++++ b/x.c +@@ -627,6 +627,8 @@ setsel(char *str, Time t) + XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t); + if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win) + selclear(); ++ ++ clipcopy(NULL); + } + + void