commit 05cf8653960b69ef85f6ae0b9de476bd423bdaa8
parent 77c728f17b05f0a3ac5a8e0c18d581dfc5aa5d29
Author: Gary Allen Vollink <gary@vollink.com>
Date: Tue, 26 Sep 2017 01:51:21 -0400
Add clipboard patch for latest code-base.
Diffstat:
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
@@ -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
@@ -0,0 +1,13 @@
+diff --git a/x.c b/x.c
+index 6474a01..aab6070 100644
+--- a/x.c
++++ b/x.c
+@@ -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