ssize_t
xwrite(int fd, const char *s, size_t len)
{
- size_t aux = len;
+ size_t aux = len, r;
while (len > 0) {
- ssize_t r = write(fd, s, len);
+ r = write(fd, s, len);
if (r < 0)
return r;
len -= r;
if (xpev->state == PropertyNewValue &&
(xpev->atom == XA_PRIMARY ||
xpev->atom == clipboard)) {
- slenotify(e);
+ selnotify(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;