mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
include left frame geometry when maximizing or fullscreening windows. Fix
2003-03-11 Rob Adams <robadams@ucla.edu> * src/constraints.c (meta_window_constrain): include left frame geometry when maximizing or fullscreening windows. Fix for #108127.
This commit is contained in:
parent
af3b5b77b1
commit
5eb4eea57e
@ -1144,7 +1144,7 @@ meta_window_constrain (MetaWindow *window,
|
||||
center_x -= OUTER_WIDTH (current) / 2;
|
||||
|
||||
constrain_move (window, &info, ¤t,
|
||||
center_x - current.x,
|
||||
center_x - current.x + info.fgeom.left_width,
|
||||
info.xinerama->y_origin - current.y + info.fgeom.top_height,
|
||||
new);
|
||||
|
||||
@ -1169,7 +1169,7 @@ meta_window_constrain (MetaWindow *window,
|
||||
center_x -= OUTER_WIDTH (current) / 2;
|
||||
|
||||
constrain_move (window, &info, ¤t,
|
||||
center_x - current.x,
|
||||
center_x - current.x + info.fgeom.left_width,
|
||||
info.work_area_xinerama.y - current.y + info.fgeom.top_height,
|
||||
new);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user