add: wwin->client.x = req_x; wwin->client.y = req_y + wwin->frame->top_width; if (!WFLAGP(wwin, no_border)) { wwin->client.x += FRAME_BORDER_WIDTH; wwin->client.y += FRAME_BORDER_WIDTH; }
context: wWindowConfigure(wwin, req_x, req_y, req_width, req_height)WWindow *wwin;int req_x, req_y;		       /* new position of the frame */int req_width, req_height;	       /* new size of the client */{    int synth_notify = False;    int resize;        resize = (req_width!=wwin->client.width	      || req_height!=wwin->client.height);    /*      * if the window is being moved but not resized then     * send a synthetic ConfigureNotify     */    if ((req_x!=wwin->frame_x || req_y!=wwin->frame_y) && !resize) {	synth_notify = True;    }            if (WFLAGP(wwin, dont_move_off))	wScreenBringInside(wwin->screen_ptr, &req_x, &req_y, 			   req_width, req_height);    if (resize) {	if (req_width < MIN_WINDOW_SIZE)	    req_width = MIN_WINDOW_SIZE;	if (req_height < MIN_WINDOW_SIZE)	    req_height = MIN_WINDOW_SIZE;		/* If growing, resize inner part before frame,	 * if shrinking, resize frame before.	 * This will prevent the frame (that can have a different color) 	 * to be exposed, causing flicker */	if (req_height > wwin->frame->core->height	    || req_width > wwin->frame->core->width)	    XResizeWindow(dpy, wwin->client_win, req_width, req_height);	if (wwin->flags.shaded) {	    wFrameWindowConfigure(wwin->frame, req_x, req_y,				  req_width, wwin->frame->core->height);	    wwin->old_geometry.height = req_height;	} else {	    int h;	    h = req_height + wwin->frame->top_width 		+ wwin->frame->bottom_width;	    wFrameWindowConfigure(wwin->frame, req_x, req_y, req_width, h);	}	if (!(req_height > wwin->frame->core->height	    || req_width > wwin->frame->core->width))	    XResizeWindow(dpy, wwin->client_win, req_width, req_height);	wwin->client.x = req_x;	wwin->client.y = req_y + wwin->frame->top_width;	wwin->client.width = req_width;	wwin->client.height = req_height;    } else {	wwin->client.x = req_x;	wwin->client.y = req_y + wwin->frame->top_width;	XMoveWindow(dpy, wwin->frame->core->window, req_x, req_y);    }    wwin->frame_x = req_x;    wwin->frame_y = req_y;#ifdef SHAPE    if (wShapeSupported && wwin->flags.shaped && resize) {	wWindowSetShape(wwin);    }#endif    if (synth_notify)	wWindowSynthConfigureNotify(wwin);    XFlush(dpy);}