From 2f2c7792a88bcf014f62ce8639d458b6e7c7e026 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Mon, 19 Aug 2019 08:44:42 +0100 Subject: [PATCH] Makes clipboard work better --- x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/x.c b/x.c index 5828a3b..868d32e 100644 --- a/x.c +++ b/x.c @@ -631,6 +631,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