Go to file
Marco Trevisan (Treviño) 1ac63fcd77 monitor-manager-xrandr: Use monitor to calculate scaling
In Xrandr we were caching the available scaling modes that were computed just
for the current mode, for each monitor, while we can actually reuse the
default implementation, by just passing the proper scaling constraint.

In monitor we need then to properly filter these values, by only accepting
integer scaling factors that would allow to have a minimal logical monitor
size.

Fixes https://gitlab.gnome.org/GNOME/mutter/issues/407

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/336>
2021-07-22 15:38:02 +02:00
.gitlab/issue_templates
.gitlab-ci Rename the master branch to main 2021-07-18 23:14:16 +02:00
clutter clutter: Remove unused EGL header 2021-07-16 19:08:06 +02:00
cogl cogl/gl: Handle bogus glGetString(GL_RENDERER) return values 2021-07-16 18:17:04 +02:00
data udev-rules: Use ID_PATH to detect vkms 2021-06-09 19:21:44 +00:00
doc
meson
po Update Portuguese translation 2021-07-22 10:38:50 +00:00
src monitor-manager-xrandr: Use monitor to calculate scaling 2021-07-22 15:38:02 +02:00
subprojects
tools
.gitignore
.gitlab-ci.yml ci: Move FDO_UPSTREAM_REPO to global scope 2021-07-19 15:14:04 +02:00
config.h.meson
COPYING
HACKING.md project: Add HACKING.md 2021-06-29 17:29:49 -03:00
meson_options.txt
meson.build meson: Bump required libinput version to 1.18.0 2021-07-16 21:30:04 +02:00
mutter.doap
NEWS Tag release 40.1 2021-05-13 16:46:28 +02:00
README.md docs: Add README section for default branch 2021-07-18 23:14:16 +02:00

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.