rem: fwin->flags.tbutton_dont_fit = 1; } else if (width >= fwin->top_width*k && fwin->flags.tbutton_dont_fit) {
add: fwin->flags.languagebutton_dont_fit = 1; } else if (width >= fwin->top_width*k && fwin->flags.languagebutton_dont_fit) {
context: reconfigure(WFrameWindow *fwin, int x, int y, int width, int height,	    Bool dontMove){    int k = (wPreferences.new_style ? 4 : 3);    int resizedHorizontally = 0;        if (dontMove)	XResizeWindow(dpy, fwin->core->window, width, height);    else	XMoveResizeWindow(dpy, fwin->core->window, x, y, width, height);    /*     if (fwin->core->height != height && fwin->resizebar)     XMoveWindow(dpy, fwin->resizebar->window, 0,		 height - fwin->resizebar->height);     */    if (fwin->core->width != width) {        fwin->flags.need_texture_remake = 1;	resizedHorizontally = 1;    }        fwin->core->width = width;    fwin->core->height = height;    if (fwin->titlebar && resizedHorizontally) {		/* Check if the titlebar is wide enough to hold the buttons.	 * Temporarily remove them if can't	 */	if (fwin->left_button) {	    if (width < fwin->top_width*k && !fwin->flags.lbutton_dont_fit) {				if (!fwin->flags.hide_left_button) {		    XUnmapWindow(dpy, fwin->left_button->window);		}		fwin->flags.lbutton_dont_fit = 1;	    } else if (width >= fwin->top_width*k && fwin->flags.lbutton_dont_fit) {				if (!fwin->flags.hide_left_button) {		    XMapWindow(dpy, fwin->left_button->window);		}		fwin->flags.lbutton_dont_fit = 0;	    }	}    #ifdef XKB_BUTTON_HINT	if (fwin->thai_button) {	    if (width < fwin->top_width*k && !fwin->flags.tbutton_dont_fit) {				if (!fwin->flags.hide_thai_button) {		    XUnmapWindow(dpy, fwin->thai_button->window);		}		fwin->flags.tbutton_dont_fit = 1;	    } else if (width >= fwin->top_width*k && fwin->flags.tbutton_dont_fit) {				if (!fwin->flags.hide_thai_button) {		    XMapWindow(dpy, fwin->thai_button->window);		}		fwin->flags.tbutton_dont_fit = 0;	    }	}#endif		if (fwin->right_button) {	    if (width < fwin->top_width*2 && !fwin->flags.rbutton_dont_fit) {				if (!fwin->flags.hide_right_button) {		    XUnmapWindow(dpy, fwin->right_button->window);		}		fwin->flags.rbutton_dont_fit = 1;	    } else if (width >= fwin->top_width*2 && fwin->flags.rbutton_dont_fit) {				if (!fwin->flags.hide_right_button) {		    XMapWindow(dpy, fwin->right_button->window);		}		fwin->flags.rbutton_dont_fit = 0;	    }	}	        if (wPreferences.new_style) {	    	    if (fwin->right_button)		XMoveWindow(dpy, fwin->right_button->window, 			    width - fwin->right_button->width + 1, 0);        } else {	    if (fwin->right_button)		XMoveWindow(dpy, fwin->right_button->window, 			    width - fwin->right_button->width - 3,			    (fwin->titlebar->height - fwin->right_button->height)/2);        }	updateTitlebar(fwin);	checkTitleSize(fwin);    }        if (fwin->resizebar) {	wCoreConfigure(fwin->resizebar, 0, 		       fwin->core->height - fwin->resizebar->height,		       fwin->core->width, fwin->resizebar->height);		fwin->resizebar_corner_width = RESIZEBAR_CORNER_WIDTH;	if (fwin->core->width < RESIZEBAR_CORNER_WIDTH*2 + RESIZEBAR_MIN_WIDTH) {	    fwin->resizebar_corner_width = fwin->core->width/2;	}    }}