rem: unsigned char *proxy;
context: isXdndAware(WMScreen *scr, Window win){    Atom type;    int format;    unsigned long count, remain;    unsigned char *winXdndVersion;    unsigned char *proxy;    if (win == None)        return False;    XGetWindowProperty(scr->display, win, scr->xdndAwareAtom,                       0, 1, False, XA_ATOM, &type, &format,                       &count, &remain, &winXdndVersion);    if (type != XA_ATOM        || format != XDND_PROPERTY_FORMAT        || count == 0 || !winXdndVersion) {        if (winXdndVersion)            XFree(winXdndVersion);        return False;    }    XFree(winXdndVersion);    return (count == 1); /* xdnd version is set */}