From 0041f49d3f558d81360235c0f6efbf4e37997860 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Wed, 23 Oct 2002 19:46:44 +0000 Subject: [PATCH] initialize the left button background rectangles. 2002-10-23 Havoc Pennington * src/theme.c (meta_frame_layout_calc_geometry): initialize the left button background rectangles. --- ChangeLog | 5 +++++ src/theme.c | 2 ++ 2 files changed, 7 insertions(+) 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; }