diff options
author | Jonas Ã…dahl <jadahl@gmail.com> | 2020-02-14 09:44:43 +0100 |
---|---|---|
committer | Carlos Garnacho <mrgarnacho@gmail.com> | 2020-02-29 21:01:50 +0000 |
commit | 0dac91cffc539079a1464c4988a362e8462824a8 (patch) | |
tree | fa9bf87f21e5db0f1fc3626a42952e7a2cf7fe55 /doc | |
parent | ff381d1d52f0869486f97c923ac4cada35910217 (diff) | |
download | mutter-0dac91cffc539079a1464c4988a362e8462824a8.tar.gz |
Add MetaGravity and replace X11 equivalent with it
MetaGravity is an enum, where the values match the X11 macros used for
gravity, with the exception that `ForgetGravity` was renamed
`META_GRAVITY_NONE` to have less of a obscure name.
The motivation for this is to rely less on libX11 data types and macros
in generic code.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/705
Diffstat (limited to 'doc')
-rw-r--r-- | doc/how-constraints-works.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/how-constraints-works.txt b/doc/how-constraints-works.txt index 327e5fe8e..a6e02f3bc 100644 --- a/doc/how-constraints-works.txt +++ b/doc/how-constraints-works.txt @@ -227,7 +227,7 @@ are used for different purposes: Examples of where each are used: - If a window is simultaneously moved and resized to the southeast corner - with SouthEastGravity, but it turns out that the window was sized to + with META_GRAVITY_SOUTH_EAST, but it turns out that the window was sized to something smaller than the minimum size hint, then the size_hints constraint should resize the window using the resize_gravity to ensure that the southeast corner doesn't move. |