mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 15:25:58 +01:00
Typo and the missing incr atom from the patches.
This commit is contained in:
parent
261ea4b7e0
commit
41f70a1cff
1 changed files with 3 additions and 1 deletions
4
st.c
4
st.c
|
@ -1044,7 +1044,7 @@ propnotify(XEvent *e)
|
||||||
if (xpev->state == PropertyNewValue &&
|
if (xpev->state == PropertyNewValue &&
|
||||||
(xpev->atom == XA_PRIMARY ||
|
(xpev->atom == XA_PRIMARY ||
|
||||||
xpev->atom == clipboard)) {
|
xpev->atom == clipboard)) {
|
||||||
slenotify(e);
|
selnotify(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1056,6 +1056,8 @@ selnotify(XEvent *e)
|
||||||
uchar *data, *last, *repl;
|
uchar *data, *last, *repl;
|
||||||
Atom type, incratom, property;
|
Atom type, incratom, property;
|
||||||
|
|
||||||
|
incratom = XInternAtom(xw.dpy, "INCR", 0);
|
||||||
|
|
||||||
ofs = 0;
|
ofs = 0;
|
||||||
if (e->type == SelectionNotify) {
|
if (e->type == SelectionNotify) {
|
||||||
property = e->xselection.property;
|
property = e->xselection.property;
|
||||||
|
|
Loading…
Reference in a new issue