mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
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:
parent
0cfb05a661
commit
0041f49d3f
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user