summaryrefslogtreecommitdiff
path: root/patches/st-clipboard-20180309-c5ba9c0.diff
diff options
context:
space:
mode:
authorKornelije Sajler <xajler@gmail.com>2018-04-25 22:15:11 +0200
committerKornelije Sajler <xajler@gmail.com>2018-04-25 22:15:11 +0200
commit0ad3d4eddfb0c260791dc3a6383f3a1047c972ab (patch)
treec81743be2dea80003bd04ba3708c39956d474efb /patches/st-clipboard-20180309-c5ba9c0.diff
parentefad574780975ee22f2826900ac2a62883b02c40 (diff)
Updated st 0.8.1. Used new patches, scrollblock and alpha fixed.
Created run-patches.sh, runs all patches on clean st 0.8.1 code. All old patches remvoed, including trasparency diff. Not including solarized theme, don't see value of it. Commented colornames array with color indexs from 0-15, includes index 255, and afterwards bg, fg and cursor, change those for background, foreground and cursor color. Seems better than solarized toggle. Updated README.
Diffstat (limited to 'patches/st-clipboard-20180309-c5ba9c0.diff')
-rw-r--r--patches/st-clipboard-20180309-c5ba9c0.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/st-clipboard-20180309-c5ba9c0.diff b/patches/st-clipboard-20180309-c5ba9c0.diff
new file mode 100644
index 0000000..4a14e2b
--- /dev/null
+++ b/patches/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