2 ===================================================================
3 --- fvwm/frame.c (revision 10)
4 +++ fvwm/frame.c (revision 11)
6 tb_thick = fw->title_thickness;
7 nbuttons = fw->nr_left_buttons + fw->nr_right_buttons;
10 + if (fw->decor->button_width == 0)
12 + b_length = tb_thick;
16 + b_length = fw->decor->button_width;
18 t_length = tb_length - nbuttons * b_length;
19 if (nbuttons > 0 && t_length < MIN_WINDOW_TITLE_LENGTH)
22 ===================================================================
23 --- fvwm/screen.h (revision 10)
24 +++ fvwm/screen.h (revision 11)
27 int title_height; /* explicitly specified title bar height */
30 /* titlebar buttons */
31 TitleButton buttons[NUMBER_OF_TITLE_BUTTONS];
33 Index: fvwm/builtins.c
34 ===================================================================
35 --- fvwm/builtins.c (revision 10)
36 +++ fvwm/builtins.c (revision 11)
41 + else if (!do_add && StrEquals(parm,"buttonwidth"))
46 + sscanf(action, "%d%n", &width, &next);
48 + if (decor->button_width != width)
50 + decor->button_width = width;
51 + decor->flags.has_changed = 1;
56 else if (!do_add && StrEquals(parm,"MinHeight"))