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:
Rob Adams 2003-03-12 03:56:01 +00:00 committed by Rob Adams
parent af3b5b77b1
commit 5eb4eea57e

View File

@ -1144,7 +1144,7 @@ meta_window_constrain (MetaWindow *window,
center_x -= OUTER_WIDTH (current) / 2;
constrain_move (window, &info, &current,
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, &current,
center_x - current.x,
center_x - current.x + info.fgeom.left_width,
info.work_area_xinerama.y - current.y + info.fgeom.top_height,
new);