summaryrefslogtreecommitdiff
path: root/patches/oth-clipboard-0.8.3.diff
diff options
context:
space:
mode:
authorSaumit Dinesan <79687674+Saumit-D@users.noreply.github.com>2021-10-26 13:02:18 +0530
committerGitHub <noreply@github.com>2021-10-26 13:02:18 +0530
commitc87afdeb1fde6f238e6728e6383ce207a1e2d2de (patch)
tree4432e8f6fb6ff7ab27e48d2273f01939af3932af /patches/oth-clipboard-0.8.3.diff
parent0d9210ed79cfe8f30ff1d241c2a90d5316284e8c (diff)
Create oth-clipboard-0.8.3.diff
Diffstat (limited to 'patches/oth-clipboard-0.8.3.diff')
-rw-r--r--patches/oth-clipboard-0.8.3.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/oth-clipboard-0.8.3.diff b/patches/oth-clipboard-0.8.3.diff
new file mode 100644
index 0000000..c1e0e9e
--- /dev/null
+++ b/patches/oth-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