]> git.armaanb.net Git - st.git/commitdiff
make clipboard patch obsolete
authorAnselm R Garbe <anselm@garbe.us>
Fri, 1 Sep 2017 07:48:24 +0000 (09:48 +0200)
committerAnselm R Garbe <anselm@garbe.us>
Fri, 1 Sep 2017 07:48:24 +0000 (09:48 +0200)
x.c

diff --git a/x.c b/x.c
index fbfd35043b7652301079ce3ccfad2e7bcd698c2d..ab9593ead339ee991129a86da63728a01576adc1 100644 (file)
--- a/x.c
+++ b/x.c
@@ -507,6 +507,7 @@ xsetsel(char *str, Time t)
        XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t);
        if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win)
                selclear_(NULL);
+       xclipcopy();
 }
 
 void