initialize the left button background rectangles.

2002-10-23  Havoc Pennington  <hp@redhat.com>

	* src/theme.c (meta_frame_layout_calc_geometry): initialize the
	left button background rectangles.
This commit is contained in:
Havoc Pennington 2002-10-23 19:46:44 +00:00 committed by Havoc Pennington
parent 0cfb05a661
commit 0041f49d3f
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-10-23 Havoc Pennington <hp@redhat.com>
* src/theme.c (meta_frame_layout_calc_geometry): initialize the
left button background rectangles.
2002-10-21 Havoc Pennington <hp@redhat.com>
Optimizations for managing new windows (do not all take effect if

View File

@ -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;
}