diff options
author | Christoph Lohmann | 2015-07-10 14:17:51 +0200 |
---|---|---|
committer | Christoph Lohmann | 2015-07-10 14:17:51 +0200 |
commit | 41f70a1cff9c5653bebea996728fa76e2507eca3 (patch) | |
tree | e880e1b29483b2229a5b8522cc56982f9dce390e | |
parent | 261ea4b7e0b8d979c0c91ec75251c6970caf39e2 (diff) | |
download | st-41f70a1cff9c5653bebea996728fa76e2507eca3.tar.gz st-41f70a1cff9c5653bebea996728fa76e2507eca3.tar.xz st-41f70a1cff9c5653bebea996728fa76e2507eca3.zip |
Typo and the missing incr atom from the patches.
-rw-r--r-- | st.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1044,7 +1044,7 @@ propnotify(XEvent *e) if (xpev->state == PropertyNewValue && (xpev->atom == XA_PRIMARY || xpev->atom == clipboard)) { - slenotify(e); + selnotify(e); } } @@ -1056,6 +1056,8 @@ selnotify(XEvent *e) uchar *data, *last, *repl; Atom type, incratom, property; + incratom = XInternAtom(xw.dpy, "INCR", 0); + ofs = 0; if (e->type == SelectionNotify) { property = e->xselection.property; |