diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/constraints.c | 12 |
2 files changed, 12 insertions, 6 deletions
@@ -1,3 +1,9 @@ +2003-08-20 Rob Adams <robadams@ucla.edu> + + * 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 <robadams@uclu.edu> * src/stack.c (get_standalone_layer): put windows with diff --git a/src/constraints.c b/src/constraints.c index f86e4782..2bb295f1 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, |