mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
Set client height as 0 when the window actually is shaded, not the other
2002-06-13 Anders Carlsson <andersca@gnu.org> * src/theme.c (meta_frame_layout_calc_geometry): Set client height as 0 when the window actually is shaded, not the other way around.
This commit is contained in:
parent
7ff56e67e9
commit
47353f88c7
@ -1,3 +1,8 @@
|
||||
2002-06-13 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* src/theme.c (meta_frame_layout_calc_geometry): Set client height
|
||||
as 0 when the window actually is shaded, not the other way around.
|
||||
|
||||
2002-06-12 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* src/theme.c (meta_frame_layout_calc_geometry): when a window is
|
||||
|
@ -412,7 +412,8 @@ meta_frame_layout_calc_geometry (const MetaFrameLayout *layout,
|
||||
&fgeom->right_width);
|
||||
|
||||
width = client_width + fgeom->left_width + fgeom->right_width;
|
||||
height = ((flags & META_FRAME_SHADED) ? client_height : 0) +
|
||||
|
||||
height = ((flags & META_FRAME_SHADED) ? 0: client_height) +
|
||||
fgeom->top_height + fgeom->bottom_height;
|
||||
|
||||
fgeom->width = width;
|
||||
|
Loading…
Reference in New Issue
Block a user