From 5d22f95fecef1bbade79350a8585ce1b81fb9898 Mon Sep 17 00:00:00 2001 From: Mateja Date: Sat, 10 Apr 2021 01:00:14 +0200 Subject: Applied `clipboard` patch. --- README.md | 1 + x.c | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 139c8ac..83c15be 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ This is my fork of [st][stterm] terminal with following patches applied: - newterm - desktopentry - scrollback (with mouse) +- clipboard ## Dependencies: diff --git a/x.c b/x.c index fae2e5a..c2fd352 100644 --- a/x.c +++ b/x.c @@ -677,6 +677,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