From 4f2a3274f30ba520c8496b07c38b0bfc49b03663 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 12 Aug 2021 22:20:47 +0200 Subject: Not compiling --- patches/st-clipboard-0.8.3.diff | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patches/st-clipboard-0.8.3.diff (limited to 'patches') 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 -- cgit v1.2.3-70-g09d2