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 --- x.c | 1 + 1 file changed, 1 insertion(+) (limited to 'x.c') 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 -- cgit v1.2.3-70-g09d2