summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-08-12 22:35:45 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-08-12 22:35:45 +0200
commiteaffda9cb2d46f6796e85de0b5805f14273aeeb9 (patch)
tree86df7c4f267e923334c25e4e4859cb555b23f032
parent80d348f1591b0e3bfc001fb5bc096d42600f3325 (diff)
Add clipboard patch
-rwxr-xr-xstbin105632 -> 105632 bytes
-rw-r--r--x.c1
-rw-r--r--x.obin79768 -> 79768 bytes
3 files changed, 1 insertions, 0 deletions
diff --git a/st b/st
index ce7d202..3e7f270 100755
--- a/st
+++ b/st
Binary files 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
--- a/x.o
+++ b/x.o
Binary files differ