commit c833bd401b2b286932fc04f4eaedce155d892ee7 parent 2461db7548899003ace874562d5a3b6632123356 Author: Matthew Carlson <matt@mcarlson.xyz> Date: Fri, 2 Jul 2021 16:23:12 +0000 Merge branch 'clipboard' into st Diffstat:
M | x.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/x.c b/x.c @@ -678,6 +678,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