From 66b2e8bc3f505cfa5316607eeedd547499f666b1 Mon Sep 17 00:00:00 2001 From: Rob Adams Date: Sat, 8 Nov 2003 05:47:37 +0000 Subject: [PATCH] use maximize_after_placement to automaximize in meta_window_place; avoids 2003-11-07 Rob Adams * 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. --- ChangeLog | 6 ++++++ src/place.c | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index e72cacb04..a2f4153ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-11-07 Rob Adams + + * 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 * src/window.c (window_should_be_showing): show the window if it's diff --git a/src/place.c b/src/place.c index 5911ddb78..58d962fa4 100644 --- a/src/place.c +++ b/src/place.c @@ -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; } }