From 683341140065b3096ee9e7e3e3b042f9c52230a6 Mon Sep 17 00:00:00 2001
From: Shiva <shiv@shiv.me>
Date: Sun, 29 Jan 2017 21:35:17 -0800
Subject: clipboard support

---
 st.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/st.c b/st.c
index fbcd9e0..78d1f39 100644
--- a/st.c
+++ b/st.c
@@ -1274,6 +1274,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
-- 
cgit v1.2.3