use maximize_after_placement to automaximize in meta_window_place; avoids

2003-11-07  Rob Adams  <readams@readams.net>

	* src/place.c (meta_window_place): use maximize_after_placement to
	automaximize in meta_window_place; avoids a problem with not
	recalculating the frame geometry after auto-maximizing.
This commit is contained in:
Rob Adams 2003-11-08 05:47:37 +00:00 committed by Rob Adams
parent 17dc2d6151
commit 66b2e8bc3f
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2003-11-07 Rob Adams <readams@readams.net>
* src/place.c (meta_window_place): use maximize_after_placement to
automaximize in meta_window_place; avoids a problem with not
recalculating the frame geometry after auto-maximizing.
2003-11-07 Rob Adams <readams@readams.net>
* src/window.c (window_should_be_showing): show the window if it's

View File

@ -835,9 +835,7 @@ meta_window_place (MetaWindow *window,
if (outer.width >= workarea.width &&
outer.height >= workarea.height)
{
outer.x = x;
outer.y = y;
meta_window_maximize_internal (window, &outer);
window->maximize_after_placement = TRUE;
}
}