rem: if (wPreferences.new_style || fwin->titlebar->width!=w) fwin->flags.need_texture_remake = 1;
add: if (wPreferences.new_style || fwin->titlebar->width!=w) { fwin->flags.need_texture1_remake = 1; fwin->flags.need_texture2_remake = 1; fwin->flags.need_texture3_remake = 1; }
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;	} else {	    x = fwin->left_button->width;	    w -= fwin->left_button->width;	}    }        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);}