From c87afdeb1fde6f238e6728e6383ce207a1e2d2de Mon Sep 17 00:00:00 2001 From: Saumit Dinesan <79687674+Saumit-D@users.noreply.github.com> Date: Tue, 26 Oct 2021 13:02:18 +0530 Subject: Create oth-clipboard-0.8.3.diff --- patches/oth-clipboard-0.8.3.diff | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patches/oth-clipboard-0.8.3.diff 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 -- cgit v1.2.3