From eaffda9cb2d46f6796e85de0b5805f14273aeeb9 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 12 Aug 2021 22:35:45 +0200 Subject: Add clipboard patch --- st | Bin 105632 -> 105632 bytes x.c | 1 + x.o | Bin 79768 -> 79768 bytes 3 files changed, 1 insertion(+) diff --git a/st b/st index ce7d202..3e7f270 100755 Binary files a/st and b/st differ diff --git a/x.c b/x.c index 6c8a1d8..a8a42f5 100644 --- a/x.c +++ b/x.c @@ -689,6 +689,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 diff --git a/x.o b/x.o index 5798bc9..11cd689 100644 Binary files a/x.o and b/x.o differ -- cgit v1.2.3-70-g09d2