aboutsummaryrefslogblamecommitdiffstats
path: root/st-clipboard-0.8.3.diff
blob: c1e0e9e480ae034bea154110706288fccfa4be15 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                             
diff --git a/x.c b/x.c
index e5f1737..5cabd60 100644
--- a/x.c
+++ b/x.c
@@ -673,6 +673,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