aboutsummaryrefslogtreecommitdiffstats
path: root/st-clipboard-0.8.3.diff
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-04-22 05:23:33 +0000
committerterminaldweller <thabogre@gmail.com>2022-04-22 05:23:33 +0000
commitf6cb39bb7a64a57471e2bbb5b8922e81f00a9772 (patch)
treed57bf3e0ada2b285dd65c1fa260c59e853638231 /st-clipboard-0.8.3.diff
parentInitial commit (diff)
downloadst-f6cb39bb7a64a57471e2bbb5b8922e81f00a9772.tar.gz
st-f6cb39bb7a64a57471e2bbb5b8922e81f00a9772.zip
initial commit
Diffstat (limited to 'st-clipboard-0.8.3.diff')
-rw-r--r--st-clipboard-0.8.3.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/st-clipboard-0.8.3.diff b/st-clipboard-0.8.3.diff
new file mode 100644
index 0000000..c1e0e9e
--- /dev/null
+++ b/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