mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
compute the frame geometry due to maximization only after actually
2005-11-20 Elijah Newren <newren@gmail.com> * src/constraints.c (place_window_if_needed): compute the frame geometry due to maximization only after actually maximizing. Fixes #321902.
This commit is contained in:
parent
d1da3438d4
commit
9641bc5ee7
@ -1,3 +1,9 @@
|
||||
2005-11-20 Elijah Newren <newren@gmail.com>
|
||||
|
||||
* src/constraints.c (place_window_if_needed): compute the frame
|
||||
geometry due to maximization only after actually maximizing.
|
||||
Fixes #321902.
|
||||
|
||||
2005-11-21 Davyd Madeley <davyd@fugro-fsi.com.au>
|
||||
|
||||
* src/edge-resistance.c (meta_display_compute_resistance_and_snap):
|
||||
|
@ -471,10 +471,6 @@ place_window_if_needed(MetaWindow *window,
|
||||
.083 * info->work_area_xinerama.height;
|
||||
}
|
||||
|
||||
/* maximization may have changed frame geometry */
|
||||
if (window->frame && !window->fullscreen)
|
||||
meta_frame_calc_geometry (window->frame, info->fgeom);
|
||||
|
||||
if (window->maximize_horizontally_after_placement &&
|
||||
window->maximize_vertically_after_placement)
|
||||
meta_window_maximize_internal (window,
|
||||
@ -496,6 +492,10 @@ place_window_if_needed(MetaWindow *window,
|
||||
- info->fgeom->top_height - info->fgeom->bottom_height;
|
||||
}
|
||||
|
||||
/* maximization may have changed frame geometry */
|
||||
if (window->frame && !window->fullscreen)
|
||||
meta_frame_calc_geometry (window->frame, info->fgeom);
|
||||
|
||||
window->maximize_horizontally_after_placement = FALSE;
|
||||
window->maximize_vertically_after_placement = FALSE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user