[wiki] [sites] Add clipboard patch for latest code-base. || Gary Allen Vollink

From: <git_AT_suckless.org>
Date: Tue, 26 Sep 2017 07:53:58 +0200

commit 05cf8653960b69ef85f6ae0b9de476bd423bdaa8
Author: Gary Allen Vollink <gary_AT_vollink.com>
Date: Tue Sep 26 01:51:21 2017 -0400

    Add clipboard patch for latest code-base.

diff --git a/st.suckless.org/patches/clipboard/index.md b/st.suckless.org/patches/clipboard/index.md
index 75f90d61..b0dd65fe 100644
--- a/st.suckless.org/patches/clipboard/index.md
+++ b/st.suckless.org/patches/clipboard/index.md
_AT_@ -19,6 +19,7 @@ Download
 * [st-clipboard-0.7.diff](st-clipboard-0.7.diff)
 * [st-clipboard-20160727-308bfbf.diff](st-clipboard-20160727-308bfbf.diff)
 * [st-clipboard-20170802-e2ee5ee.diff](st-clipboard-20170802-e2ee5ee.diff)
+* [st-clipboard-20170925-b1338e9.diff](st-clipboard-20170925-b1338e9.diff)
 
 Authors
 -------
diff --git a/st.suckless.org/patches/clipboard/st-clipboard-20170925-b1338e9.diff b/st.suckless.org/patches/clipboard/st-clipboard-20170925-b1338e9.diff
new file mode 100644
index 00000000..f52fd9cb
--- /dev/null
+++ b/st.suckless.org/patches/clipboard/st-clipboard-20170925-b1338e9.diff
_AT_@ -0,0 +1,13 @@
+diff --git a/x.c b/x.c
+index 6474a01..aab6070 100644
+--- a/x.c
++++ b/x.c
+_AT_@ -508,6 +508,8 @@ 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
Received on Tue Sep 26 2017 - 07:53:58 CEST

This archive was generated by hypermail 2.3.0 : Tue Sep 26 2017 - 08:00:43 CEST