diff options
| author | Christoph Lohmann <20h@r-36.net> | 2015-07-10 14:17:51 +0200 |
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2015-07-10 14:17:51 +0200 |
| commit | 41f70a1cff9c5653bebea996728fa76e2507eca3 (patch) | |
| tree | e880e1b29483b2229a5b8522cc56982f9dce390e /st.c | |
| parent | 261ea4b7e0b8d979c0c91ec75251c6970caf39e2 (diff) | |
| download | st-41f70a1cff9c5653bebea996728fa76e2507eca3.tar.gz st-41f70a1cff9c5653bebea996728fa76e2507eca3.zip | |
Typo and the missing incr atom from the patches.
Diffstat (limited to 'st.c')
| -rw-r--r-- | st.c | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -1044,7 +1044,7 @@ propnotify(XEvent *e) | |||
| 1044 | if (xpev->state == PropertyNewValue && | 1044 | if (xpev->state == PropertyNewValue && |
| 1045 | (xpev->atom == XA_PRIMARY || | 1045 | (xpev->atom == XA_PRIMARY || |
| 1046 | xpev->atom == clipboard)) { | 1046 | xpev->atom == clipboard)) { |
| 1047 | slenotify(e); | 1047 | selnotify(e); |
| 1048 | } | 1048 | } |
| 1049 | } | 1049 | } |
| 1050 | 1050 | ||
| @@ -1056,6 +1056,8 @@ selnotify(XEvent *e) | |||
| 1056 | uchar *data, *last, *repl; | 1056 | uchar *data, *last, *repl; |
| 1057 | Atom type, incratom, property; | 1057 | Atom type, incratom, property; |
| 1058 | 1058 | ||
| 1059 | incratom = XInternAtom(xw.dpy, "INCR", 0); | ||
| 1060 | |||
| 1059 | ofs = 0; | 1061 | ofs = 0; |
| 1060 | if (e->type == SelectionNotify) { | 1062 | if (e->type == SelectionNotify) { |
| 1061 | property = e->xselection.property; | 1063 | property = e->xselection.property; |
