diff options
author | Shiva <shiv@shiv.me> | 2017-01-29 21:35:17 -0800 |
---|---|---|
committer | Shiva <shiv@shiv.me> | 2017-01-29 21:35:17 -0800 |
commit | 683341140065b3096ee9e7e3e3b042f9c52230a6 (patch) | |
tree | 1d140e6e92f8954e7b95ddc56430a3d51b51d4dc | |
parent | 7549ffd200a55430609f7f941c6f49a86d831df2 (diff) |
clipboard support
-rw-r--r-- | st.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |