clipboard: Also copy to 'Ctrl-V' in addition to 'middleclick' clipboard

This commit is contained in:
Aaron Lindsay 2016-12-21 15:46:52 -05:00 committed by Aaron Lindsay
parent 552d828ce0
commit a2940a5559

2
st.c
View File

@ -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