blob: 4cbec851a4179d63adeddb4f7da2937bcb3d8231 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/st.c b/st.c
index 2594c65..ebdde9f 100644
--- a/st.c
+++ b/st.c
@@ -1263,6 +1263,8 @@ xsetsel(char *str, Time t)
XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t);
if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win)
selclear(0);
+
+ clipcopy(NULL);
}
void
|