clipboard support

This commit is contained in:
Shiva 2017-01-29 21:35:17 -08:00
parent 7549ffd200
commit 6833411400

2
st.c
View File

@ -1274,6 +1274,8 @@ xsetsel(char *str, Time t)
XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t); XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t);
if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win) if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win)
selclear(0); selclear(0);
clipcopy(NULL);
} }
void void