rem: left, thai, right, &pmap, &lpmap, &tpmap, &rpmap);
add: left, language, right, &pmap, &lpmap, &tpmap, &rpmap);
context: remakeTexture(WFrameWindow *fwin, int state){    Pixmap pmap, lpmap, rpmap;#ifdef XKB_BUTTON_HINT    Pixmap tpmap;#endif    if (fwin->title_texture[state] && fwin->titlebar) {	FREE_PIXMAP(fwin->title_back[state]);	if (wPreferences.new_style) {	    FREE_PIXMAP(fwin->lbutton_back[state]);	    FREE_PIXMAP(fwin->rbutton_back[state]);#ifdef XKB_BUTTON_HINT	    FREE_PIXMAP(fwin->tbutton_back[state]);#endif	}	if (fwin->title_texture[state]->any.type!=WTEX_SOLID) {	    int left, right;#ifdef XKB_BUTTON_HINT        int thai;#endif	    int width;	    /* eventually surrounded by if new_style */	    left = fwin->left_button && !fwin->flags.hide_left_button		&& !fwin->flags.lbutton_dont_fit;#ifdef XKB_BUTTON_HINT	    thai = fwin->thai_button && !fwin->flags.hide_thai_button		&& !fwin->flags.tbutton_dont_fit;#endif	    right = fwin->right_button && !fwin->flags.hide_right_button		&& !fwin->flags.rbutton_dont_fit;	    width = fwin->core->width+1;#ifdef XKB_BUTTON_HINT	    renderTexture(fwin->screen_ptr, fwin->title_texture[state],			  width, fwin->titlebar->height,			  fwin->titlebar->height, fwin->titlebar->height,			  left, thai, right, &pmap, &lpmap, &tpmap, &rpmap);#else	    renderTexture(fwin->screen_ptr, fwin->title_texture[state],			  width, fwin->titlebar->height,			  fwin->titlebar->height, fwin->titlebar->height,			  left, right, &pmap, &lpmap, &rpmap);#endif	    fwin->title_back[state] = pmap;	    if (wPreferences.new_style) {		fwin->lbutton_back[state] = lpmap;		fwin->rbutton_back[state] = rpmap;#ifdef XKB_BUTTON_HINT		fwin->tbutton_back[state] = tpmap;#endif	    }	}    }    if (fwin->resizebar_texture && fwin->resizebar_texture[0] 	&& fwin->resizebar && state == 0) {	FREE_PIXMAP(fwin->resizebar_back[0]);	if (fwin->resizebar_texture[0]->any.type!=WTEX_SOLID) {	    renderResizebarTexture(fwin->screen_ptr,				   fwin->resizebar_texture[0],				   fwin->resizebar->width,				   fwin->resizebar->height,				   fwin->resizebar_corner_width,				   &pmap);	    fwin->resizebar_back[0] = pmap;	}		/* this part should be in updateTexture() */	if (fwin->resizebar_texture[0]->any.type!=WTEX_SOLID) {	    XSetWindowBackgroundPixmap(dpy, fwin->resizebar->window,				       fwin->resizebar_back[0]);	} else {	    XSetWindowBackground(dpy, fwin->resizebar->window,				 fwin->resizebar_texture[0]->solid.normal.pixel);	}	XClearWindow(dpy, fwin->resizebar->window);    }}