commit 8b868590208b1d5931dae63a7124591aee617293
parent be60b305ea214dcd0bc113711837253887f21021
Author: dequis <dx@dxzone.com.ar>
Date: Fri, 9 Mar 2018 19:49:14 -0300
Update st clipboard patch for git
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
@@ -20,6 +20,7 @@ Download
* [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)
+* [st-clipboard-20180309-c5ba9c0.diff](st-clipboard-20180309-c5ba9c0.diff)
Authors
-------
diff --git a/st.suckless.org/patches/clipboard/st-clipboard-20180309-c5ba9c0.diff b/st.suckless.org/patches/clipboard/st-clipboard-20180309-c5ba9c0.diff
@@ -0,0 +1,13 @@
+diff --git a/x.c b/x.c
+index 13fa9f4..88fd341 100644
+--- a/x.c
++++ b/x.c
+@@ -624,6 +624,8 @@ setsel(char *str, Time t)
+ XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t);
+ if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win)
+ selclear();
++
++ xclipcopy();
+ }
+
+ void