From ad509637c4180d2b45db581ea81f21b405829f5a Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 22 Apr 2024 23:25:58 +0530 Subject: Applied st-clipboard patch --- 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/st-clipboard-0.8.3.diff') 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-13-gbd6f