[hackers] [st] Typo and the missing incr atom from the patches. || Christoph Lohmann

From: <git_AT_suckless.org>
Date: Fri, 10 Jul 2015 14:32:07 +0200 (CEST)

commit 41f70a1cff9c5653bebea996728fa76e2507eca3
Author: Christoph Lohmann <20h_AT_r-36.net>
AuthorDate: Fri Jul 10 14:17:51 2015 +0200
Commit: Christoph Lohmann <20h_AT_r-36.net>
CommitDate: Fri Jul 10 14:17:51 2015 +0200

    Typo and the missing incr atom from the patches.

diff --git a/st.c b/st.c
index e65e981..486735d 100644
--- a/st.c
+++ b/st.c
_AT_@ -1044,7 +1044,7 @@ propnotify(XEvent *e)
         if (xpev->state == PropertyNewValue &&
                         (xpev->atom == XA_PRIMARY ||
                          xpev->atom == clipboard)) {
- slenotify(e);
+ selnotify(e);
         }
 }
 
_AT_@ -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;
Received on Fri Jul 10 2015 - 14:32:07 CEST

This archive was generated by hypermail 2.3.0 : Fri Jul 10 2015 - 14:36:16 CEST