clipboard: Also copy to 'Ctrl-V' in addition to 'middleclick' clipboard
This commit is contained in:
parent
552d828ce0
commit
a2940a5559
2
st.c
2
st.c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user