rem: drawFrame(WScreen *scr, Window win, int y, int w, int h, int type)
add: drawFrame(WScreen *scr, Drawable win, int y, int w, int h, int type)
context: drawFrame(WScreen *scr, Window win, int y, int w, int h, int type){    XSegment segs[2];    int i;    i = 0;    segs[i].x1 = segs[i].x2 = w-1;    segs[i].y1 = y;    segs[i].y2 = y + h - 1;    i++;    if (type != F_TOP && type != F_NONE) {	segs[i].x1 = 1;	segs[i].y1 = segs[i].y2 = y + h-2;	segs[i].x2 = w-1;	i++;    }    XDrawSegments(dpy, win, scr->menu_item_auxtexture->dim_gc, segs, i);    i = 0;    segs[i].x1 = 0;    segs[i].y1 = y;    segs[i].x2 = 0;    segs[i].y2 = y + h - 1;    i++;    if (type != F_BOTTOM && type != F_NONE) {	segs[i].x1 = 0;	segs[i].y1 = y;	segs[i].x2 = w-1;	segs[i].y2 = y;	i++;    }    XDrawSegments(dpy, win, scr->menu_item_auxtexture->light_gc, segs, i);    if (type != F_TOP && type != F_NONE)	XDrawLine(dpy, win, scr->menu_item_auxtexture->dark_gc, 0, y+h-1,		  w-1, y+h-1);}