Go to file
Carlos Garnacho 54e4d1df79 x11: Defer ClutterStage focus actor change until window is focused
If we happen to be changing focus to a window *while* taking focus
away from Clutter widgetry, we would unintendedly trigger reentrance
in a way that the old focused window remained in focus, by asking
to focus the default focus window in an untimely manner.

To handle this reentrancy, delay dropping the Clutter key focus
until the window focus changed, so that the focus change will look
up the default focused window in the workspace, and find the up to
date one.

Fixes: ae102ee301 ("x11: Refactor ClutterStage key focus management")
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3467>
2024-01-10 20:56:24 +01:00
.gitlab/issue_templates
.gitlab-ci ci: Look for matching ref in user remote for branch pipeline 2023-08-08 04:11:13 +02:00
clutter clutter: Mark FixedLayout as derivable 2024-01-10 12:55:02 +01:00
cogl build: Enable no-omit-frame-pointer for all non-plain builds 2024-01-09 16:26:57 +00:00
data data: Remove no longer used icon 2024-01-09 13:38:54 +00:00
doc docs: Add a website 2024-01-10 19:14:58 +00:00
meson build: Replace custom post-install script 2022-11-19 02:21:05 +01:00
mtk region: Move RegionBuilder to Mtk 2024-01-09 18:47:34 +00:00
po Update Georgian translation 2024-01-08 08:54:47 +00:00
src x11: Defer ClutterStage focus actor change until window is focused 2024-01-10 20:56:24 +01:00
subprojects
tools docs: Move the gitlab wiki and other docs to the docs/ directory 2024-01-03 20:54:57 +00:00
.gitignore misc: Add common noisy dirs to gitignore 2024-01-08 19:53:57 +01:00
.gitlab-ci.yml ci: Distribute the new website 2024-01-10 19:14:58 +00:00
check-style.py ci: Mark the regex to find chunks in code style checks as regex string 2023-12-15 14:49:57 +00:00
config.h.meson build: One config file to rule them all 2023-11-15 12:00:19 +00:00
COPYING
logo.svg docs: Add a logo 2024-01-09 13:38:54 +00:00
meson_options.txt edid: Integrate libdisplay-info for edid parsing 2023-05-02 17:37:01 +00:00
meson.build build: Enable no-omit-frame-pointer for all non-plain builds 2024-01-09 16:26:57 +00:00
mutter.doap DOAP: Remove defunct mailing list; add Discourse 2023-09-15 03:19:22 +02:00
NEWS Bump version to 46.alpha 2024-01-06 22:28:28 +01:00
README.md docs: Add Building and Running topic 2024-01-03 20:54:57 +00: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 of 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 first look at the GNOME Handbook and the documentation and API references below first.

Documentation

API Reference

License

Mutter is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for detalis.