rem: if(fwin->thai_button) wCoreConfigure(fwin->thai_button, 3, (theight-bsize)/2, fwin->thai_button->width, fwin->thai_button->width);
add: if(fwin->language_button) wCoreConfigure(fwin->language_button, 3, (theight-bsize)/2, fwin->language_button->width, fwin->language_button->width);
context: updateTitlebar(WFrameWindow *fwin){    int x, w;    int theight;        theight = (*fwin->font)->height + TITLEBAR_EXTRA_HEIGHT;    x = 0;    w = fwin->core->width + 1;    if (wPreferences.new_style) {	if (fwin->flags.hide_left_button || !fwin->left_button	    || fwin->flags.lbutton_dont_fit) {	    x = 0;#ifdef XKB_BUTTON_HINT        if(fwin->thai_button)            wCoreConfigure(fwin->thai_button, 0, 0,                    fwin->thai_button->width,                    fwin->thai_button->width);#endif	} else {#ifdef XKB_BUTTON_HINT        if(fwin->thai_button)            wCoreConfigure(fwin->thai_button, fwin->left_button->width, 0,                    fwin->thai_button->width,                    fwin->thai_button->width);#endif	    x = fwin->left_button->width;	    w -= fwin->left_button->width;	}#ifdef XKB_BUTTON_HINT	if (fwin->flags.hide_thai_button || !fwin->thai_button	    || fwin->flags.tbutton_dont_fit) {    } else {	    x += fwin->thai_button->width;	    w -= fwin->thai_button->width;    }#endif    }#ifdef XKB_BUTTON_HINT    else {        int bsize = theight - 7;        if (fwin->flags.hide_left_button || !fwin->left_button            || fwin->flags.lbutton_dont_fit) {            if(fwin->thai_button)                wCoreConfigure(fwin->thai_button, 3, (theight-bsize)/2,                        fwin->thai_button->width,                        fwin->thai_button->width);        }        else {            if(fwin->thai_button)                wCoreConfigure(fwin->thai_button,                        6 + fwin->left_button->width, (theight-bsize)/2,                        fwin->thai_button->width,                        fwin->thai_button->width);        }    }#endif        if (wPreferences.new_style) {	if (!fwin->flags.hide_right_button && fwin->right_button	    && !fwin->flags.rbutton_dont_fit) {	    w -= fwin->right_button->width;	}    }    if (wPreferences.new_style || fwin->titlebar->width!=w)	fwin->flags.need_texture_remake = 1;    wCoreConfigure(fwin->titlebar, x, 0, w, theight);}