mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
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,9 +1371,9 @@ 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;
|
||||||
|
|
||||||
constrain_move (window, &info, ¤t,
|
constrain_move (window, &info, ¤t,
|
||||||
@ -1389,9 +1389,9 @@ 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;
|
||||||
|
|
||||||
constrain_move (window, &info, ¤t,
|
constrain_move (window, &info, ¤t,
|
||||||
|
Loading…
Reference in New Issue
Block a user