rem: int count,count2;
add: int count;
context: requestHandler(WMWidget *w, Atom selection, Atom target, Atom *type,	       void **value, unsigned *length, int *format) {    TextField *tPtr = w;    int count,count2;    Display *dpy = tPtr->view->screen->display;    Atom _TARGETS;    char *text;    text = XGetAtomName(tPtr->view->screen->display,target);    XFree(text);    text = XGetAtomName(tPtr->view->screen->display,selection);    XFree(text);    *format = 32;    *length = 0;    *value = NULL;    count = tPtr->selection.count < 0        ? tPtr->selection.position + tPtr->selection.count        : tPtr->selection.position;    if (target == XA_STRING ||            target == XInternAtom(dpy, "TEXT", False) ||            target == XInternAtom(dpy, "COMPOUND_TEXT", False)) {        *value = wstrdup(&(tPtr->text[count]));        *length = abs(tPtr->selection.count);        *format = 8;        *type = target;        return True;    }        _TARGETS = XInternAtom(dpy, "TARGETS", False);    if (target == _TARGETS) {        int *ptr;        *length = 4;        ptr = *value = (char *) wmalloc(4 * sizeof(Atom));        ptr[0] = _TARGETS;        ptr[1] = XA_STRING;        ptr[2] = XInternAtom(dpy, "TEXT", False);        ptr[3] = XInternAtom(dpy, "COMPOUND_TEXT", False);        *type = target;        return True;    }    /*    *target = XA_PRIMARY;    */    return False;}