summaryrefslogtreecommitdiff
path: root/patches/st-clipboard-0.8.3.diff.1
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2021-09-12 18:29:56 +0400
committerAndrew Guschin <saintruler@gmail.com>2021-09-12 18:29:56 +0400
commit2faaa50b3725bded7b9a858b336a58293f769847 (patch)
treecfedfb63419c29fab21da3dec89c25c80191bcfc /patches/st-clipboard-0.8.3.diff.1
parentcbb4606edfaf526c89e5574662272e7b0bda05a9 (diff)
Added patches oneclipboard, scrollback-mouse, scrollback-mouse-altscreen
Diffstat (limited to 'patches/st-clipboard-0.8.3.diff.1')
-rw-r--r--patches/st-clipboard-0.8.3.diff.112
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/st-clipboard-0.8.3.diff.1 b/patches/st-clipboard-0.8.3.diff.1
new file mode 100644
index 0000000..c1e0e9e
--- /dev/null
+++ b/patches/st-clipboard-0.8.3.diff.1
@@ -0,0 +1,12 @@
+diff --git a/x.c b/x.c
+index e5f1737..5cabd60 100644
+--- a/x.c
++++ b/x.c
+@@ -673,6 +673,7 @@ 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