rem: fwin->tbutton_image = scr->b_pixmaps[WBUT_ENGL];
add: fwin->languagebutton_image = scr->b_pixmaps[WBUT_XKBGROUP1 + fwin->languagemode];
context: wWindowUpdateButtonImages(WWindow *wwin){    WScreen *scr = wwin->screen_ptr;    Pixmap pixmap, mask;    WFrameWindow *fwin = wwin->frame;        if (WFLAGP(wwin, no_titlebar))	return;    /* miniaturize button */        if (!WFLAGP(wwin, no_miniaturize_button)) {	if (wwin->wm_gnustep_attr	    && wwin->wm_gnustep_attr->flags & GSMiniaturizePixmapAttr) {	    pixmap = wwin->wm_gnustep_attr->miniaturize_pixmap;	      	    if (wwin->wm_gnustep_attr->flags&GSMiniaturizeMaskAttr) {		mask = wwin->wm_gnustep_attr->miniaturize_mask;	    } else {		mask = None;	    }	    if (fwin->lbutton_image 		&& (fwin->lbutton_image->image != pixmap		    || fwin->lbutton_image->mask != mask)) {		wPixmapDestroy(fwin->lbutton_image);		fwin->lbutton_image = NULL;	    }	    	    if (!fwin->lbutton_image) {		fwin->lbutton_image = wPixmapCreate(scr, pixmap, mask);		fwin->lbutton_image->client_owned = 1;		fwin->lbutton_image->client_owned_mask = 1;	    }	} else {	    if (fwin->lbutton_image && !fwin->lbutton_image->shared) {		wPixmapDestroy(fwin->lbutton_image);	    }	    fwin->lbutton_image = scr->b_pixmaps[WBUT_ICONIFY];	}    }    #ifdef XKB_BUTTON_HINT    if (!WFLAGP(wwin, no_thai_button)) {	    if (fwin->tbutton_image && !fwin->tbutton_image->shared) {		wPixmapDestroy(fwin->tbutton_image);	    }	    fwin->tbutton_image = scr->b_pixmaps[WBUT_ENGL];    }#endif        /* close button */    if (!WFLAGP(wwin, no_close_button)) {	if (wwin->wm_gnustep_attr	    && wwin->wm_gnustep_attr->flags&GSClosePixmapAttr) {	    pixmap = wwin->wm_gnustep_attr->close_pixmap;	    	    if (wwin->wm_gnustep_attr->flags&GSCloseMaskAttr) {		mask = wwin->wm_gnustep_attr->close_mask;	    } else {		mask = None;	    }	    if (fwin->rbutton_image		&& (fwin->rbutton_image->image != pixmap		    || fwin->rbutton_image->mask != mask)) {		wPixmapDestroy(fwin->rbutton_image);		fwin->rbutton_image = NULL;	    }	    	    if (!fwin->rbutton_image) {		fwin->rbutton_image = wPixmapCreate(scr, pixmap, mask);		fwin->rbutton_image->client_owned = 1;		fwin->rbutton_image->client_owned_mask = 1;	    }	} else if (WFLAGP(wwin, kill_close)) {	    if (fwin->rbutton_image && !fwin->rbutton_image->shared) {		wPixmapDestroy(fwin->rbutton_image);	    }	    fwin->rbutton_image = scr->b_pixmaps[WBUT_KILL];	} else if (WFLAGP(wwin, broken_close)) {	    if (fwin->rbutton_image && !fwin->rbutton_image->shared) {		wPixmapDestroy(fwin->rbutton_image);	    }	    fwin->rbutton_image = scr->b_pixmaps[WBUT_BROKENCLOSE];	} else {	    if (fwin->rbutton_image && !fwin->rbutton_image->shared) {		wPixmapDestroy(fwin->rbutton_image);	    }	    fwin->rbutton_image = scr->b_pixmaps[WBUT_CLOSE];	}    }    /* force buttons to be redrawn */    fwin->flags.need_texture_change = 1;    wFrameWindowPaint(fwin);}