diff --git a/ChangeLog b/ChangeLog index 84b0b7525..53eccb176 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-10-23 Havoc Pennington + + * src/theme.c (meta_frame_layout_calc_geometry): initialize the + left button background rectangles. + 2002-10-21 Havoc Pennington Optimizations for managing new windows (do not all take effect if diff --git a/src/theme.c b/src/theme.c index 5ad91368b..c94d3a8f3 100644 --- a/src/theme.c +++ b/src/theme.c @@ -718,6 +718,8 @@ meta_frame_layout_calc_geometry (const MetaFrameLayout *layout, rect->height = button_height; x = rect->x + rect->width + layout->button_border.right; + + *(left_bg_rects[i]) = *rect; ++i; }