do northwest resize when maximizing and fullscreening to avoid potential
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.
This commit is contained in:
parent
23b5ea0eee
commit
a644753073
@ -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>
|
2003-08-19 Rob Adams <robadams@uclu.edu>
|
||||||
|
|
||||||
* src/stack.c (get_standalone_layer): put windows with
|
* src/stack.c (get_standalone_layer): put windows with
|
||||||
|
@ -1371,8 +1371,8 @@ meta_window_constrain (MetaWindow *window,
|
|||||||
|
|
||||||
current = *new;
|
current = *new;
|
||||||
|
|
||||||
constrain_resize_hcenter (window, &info, ¤t,
|
constrain_resize_right (window, &info, ¤t,
|
||||||
(info.xinerama->width - OUTER_WIDTH (current)) / 2,
|
info.xinerama->width - OUTER_WIDTH (current),
|
||||||
new);
|
new);
|
||||||
current = *new;
|
current = *new;
|
||||||
|
|
||||||
@ -1389,8 +1389,8 @@ meta_window_constrain (MetaWindow *window,
|
|||||||
|
|
||||||
current = *new;
|
current = *new;
|
||||||
|
|
||||||
constrain_resize_hcenter (window, &info, ¤t,
|
constrain_resize_right (window, &info, ¤t,
|
||||||
(info.work_area_xinerama.width - OUTER_WIDTH (current)) / 2,
|
info.work_area_xinerama.width - OUTER_WIDTH (current),
|
||||||
new);
|
new);
|
||||||
current = *new;
|
current = *new;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user