st.c | 4 +++- diff --git a/st.c b/st.c index e65e9813f5fe635a8cfe35d74d3b20241ffa106f..486735d7a79cf21f6078dbea177ec7de69237658 100644 --- a/st.c +++ b/st.c @@ -1044,7 +1044,7 @@ xpev = &e->xproperty; if (xpev->state == PropertyNewValue && (xpev->atom == XA_PRIMARY || xpev->atom == clipboard)) { - slenotify(e); + selnotify(e); } } @@ -1055,6 +1055,8 @@ ulong nitems, ofs, rem; int format; uchar *data, *last, *repl; Atom type, incratom, property; + + incratom = XInternAtom(xw.dpy, "INCR", 0); ofs = 0; if (e->type == SelectionNotify) {