![Jonas Ådahl](/assets/img/avatar_default.png)
We save the window rect before going fullscreen to a dedicated variable, so we can go back to the correct dimension. We also have a dedicated variable for returning from other window states, e.g. maximized, and this one we initialized when creating the MetaWindow. This meant that we could always rely on this being up to date on X11 windows that were mapped maximized or fullscreen. What the commit that introduced the saved rect dedicated for going unfullscreen missed was to initialize the new saved rectangle too when creating the MetaWindow. This resulted in windows mapped as fullscreen often ending up misbehaving when unfullscreening, as mutter would tell them to unfullscreen to 0x0. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1786 Fixes: a51ad8f932cb55bdd8a62fc5d8d10af7fc62b0a0 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2210>
Mutter
Mutter is a Wayland display server and X11 window manager and compositor library.
When used as a Wayland display server, it runs on top of KMS and libinput. It implements the compositor side of the Wayland core protocol as well as various protocol extensions. It also has functionality related to running X11 applications using Xwayland.
When used on top of Xorg it acts as a X11 window manager and compositing manager.
It contains functionality related to, among other things, window management, window compositing, focus tracking, workspace management, keybindings and monitor configuration.
Internally it uses a fork of Cogl, a hardware acceleration abstraction library used to simplify usage of OpenGL pipelines, as well as a fork af Clutter, a scene graph and user interface toolkit.
Mutter is used by, for example, GNOME Shell, the GNOME core user interface, and by Gala, elementary OS's window manager. It can also be run standalone, using the command "mutter", but just running plain mutter is only intended for debugging purposes.
Contributing
To contribute, open merge requests at https://gitlab.gnome.org/GNOME/mutter.
It can be useful to look at the documentation available at the Wiki.
Coding style and conventions
See HACKING.md.
Git messages
Commit messages should follow the GNOME commit message
guidelines. We require an URL
to either an issue or a merge request in each commit. Try to always prefix
commit subjects with a relevant topic, such as compositor:
or
clutter/actor:
, and it's always better to write too much in the commit
message body than too little.
Default branch
The default development branch is main
. If you still have a local
checkout under the old name, use:
git checkout master
git branch -m master main
git fetch
git branch --unset-upstream
git branch -u origin/main
git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main
License
Mutter is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for detalis.