diff --git a/ChangeLog b/ChangeLog index 151ef1de8..3de68ab68 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-08-20 Rob Adams + + * src/constraints.c (meta_window_constrain): do northwest resize + when maximizing and fullscreening to avoid potential "off-by-one" + problems. + 2003-08-19 Rob Adams * src/stack.c (get_standalone_layer): put windows with diff --git a/src/constraints.c b/src/constraints.c index f86e47823..2bb295f19 100644 --- a/src/constraints.c +++ b/src/constraints.c @@ -1371,9 +1371,9 @@ meta_window_constrain (MetaWindow *window, current = *new; - constrain_resize_hcenter (window, &info, ¤t, - (info.xinerama->width - OUTER_WIDTH (current)) / 2, - new); + constrain_resize_right (window, &info, ¤t, + info.xinerama->width - OUTER_WIDTH (current), + new); current = *new; constrain_move (window, &info, ¤t, @@ -1389,9 +1389,9 @@ meta_window_constrain (MetaWindow *window, current = *new; - constrain_resize_hcenter (window, &info, ¤t, - (info.work_area_xinerama.width - OUTER_WIDTH (current)) / 2, - new); + constrain_resize_right (window, &info, ¤t, + info.work_area_xinerama.width - OUTER_WIDTH (current), + new); current = *new; constrain_move (window, &info, ¤t,