rem: if (!WFLAGP(wwin, no_titlebar))
add: if (HAS_TITLEBAR(wwin))
context: wWindowConfigureBorders(WWindow *wwin){    if (wwin->frame) {	int flags;	int newy, oldh;	flags = WFF_LEFT_BUTTON|WFF_RIGHT_BUTTON;#ifdef XKB_BUTTON_HINT    flags |= WFF_LANGUAGE_BUTTON;#endif	if (!WFLAGP(wwin, no_titlebar))	    flags |= WFF_TITLEBAR;	if (!WFLAGP(wwin, no_resizebar) && !WFLAGP(wwin, no_resizable))	    flags |= WFF_RESIZEBAR;	if (!WFLAGP(wwin, no_border))	    flags |= WFF_BORDER;	if (wwin->flags.shaded)	    flags |= WFF_IS_SHADED;	oldh = wwin->frame->top_width;	wFrameWindowUpdateBorders(wwin->frame, flags);	if (oldh != wwin->frame->top_width) {	    newy = wwin->frame_y + oldh - wwin->frame->top_width;	    XMoveWindow(dpy, wwin->client_win, 0, wwin->frame->top_width);	    wWindowConfigure(wwin, wwin->frame_x, newy,			     wwin->client.width, wwin->client.height);	}	flags = 0;	if (!WFLAGP(wwin, no_miniaturize_button)	    && wwin->frame->flags.hide_left_button)	    flags |= WFF_LEFT_BUTTON;#ifdef XKB_BUTTON_HINT    if (!WFLAGP(wwin, no_language_button)            && wwin->frame->flags.hide_language_button)        flags |= WFF_LANGUAGE_BUTTON;#endif	if (!WFLAGP(wwin, no_close_button)	    && wwin->frame->flags.hide_right_button)	    flags |= WFF_RIGHT_BUTTON;	if (flags!=0) {	    wWindowUpdateButtonImages(wwin);	    wFrameWindowShowButton(wwin->frame, flags);	}	flags = 0;	if (WFLAGP(wwin, no_miniaturize_button)	    && !wwin->frame->flags.hide_left_button)	    flags |= WFF_LEFT_BUTTON;#ifdef XKB_BUTTON_HINT	if (WFLAGP(wwin, no_language_button)	    && !wwin->frame->flags.hide_language_button)	    flags |= WFF_LANGUAGE_BUTTON;#endif	if (WFLAGP(wwin, no_close_button)	    && !wwin->frame->flags.hide_right_button)	    flags |= WFF_RIGHT_BUTTON;	if (flags!=0)	    wFrameWindowHideButton(wwin->frame, flags);#ifdef SHAPE	if (wShapeSupported && wwin->flags.shaped) {	    wWindowSetShape(wwin);	}#endif    }}