summaryrefslogtreecommitdiff
path: root/patches/st-clipboard-0.8.3.diff
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2021-03-28 16:29:30 +0400
committerAndrew Guschin <saintruler@gmail.com>2021-03-28 16:29:30 +0400
commit8d43c979158310959bdcb10c1566f6d3c619fe5b (patch)
tree7b174693eb74eb794d33682f8d1d83c44f163b2c /patches/st-clipboard-0.8.3.diff
parent7d53184f5e46c5fa6ebd9bfe86a7a2b44669ab04 (diff)
Remade st build with new patches
Diffstat (limited to 'patches/st-clipboard-0.8.3.diff')
-rw-r--r--patches/st-clipboard-0.8.3.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/st-clipboard-0.8.3.diff b/patches/st-clipboard-0.8.3.diff
new file mode 100644
index 0000000..c1e0e9e
--- /dev/null
+++ b/patches/st-clipboard-0.8.3.diff
@@ -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