From 2faaa50b3725bded7b9a858b336a58293f769847 Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Sun, 12 Sep 2021 18:29:56 +0400 Subject: Added patches oneclipboard, scrollback-mouse, scrollback-mouse-altscreen --- patches/st-clipboard-0.8.3.diff.1 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patches/st-clipboard-0.8.3.diff.1 (limited to 'patches/st-clipboard-0.8.3.diff.1') diff --git a/patches/st-clipboard-0.8.3.diff.1 b/patches/st-clipboard-0.8.3.diff.1 new file mode 100644 index 0000000..c1e0e9e --- /dev/null +++ b/patches/st-clipboard-0.8.3.diff.1 @@ -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