1
0
Fork 0
A repository that has original sources for patches used in the Arch User Repository package called "mutter-performance". https://aur.archlinux.org/packages/mutter-performance
Find a file
Peter Hutterer d866590b78 wayland: Set current tool surface to NULL on prox-out
If an application is maximised, clutter_stage_pick_and_update_device()
goes into the
        if ((flags & CLUTTER_DEVICE_UPDATE_IGNORE_CACHE) == 0)
condition and returns the current actor for the device. This means no
CLUTTER_LEAVE/ENTER events are generated and in turn means the focus is
never invalidated and updated.

This leads to tool->focus_surface always being NULL and all events are
discarded.

Notably, tool->current is set to the right surface but
that one never changes either so meta_wayland_tablet_tool_set_current_surface()
exits early too because surface == tool->current and we thus never call
meta_wayland_input_invalidate_focus().

Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3616
Fixes: fb8ac5dff7 ("wayland: Track current tablet tool focus surface")
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3956>
2024-08-21 10:21:33 +00:00
.gitlab/issue_templates gitlab: Add missing < in markdown comment tag 2020-02-14 03:10:28 +00:00
.gitlab-ci ci: Update gsettings-desktop-schemas check 2024-08-09 08:29:21 +00:00
clutter Replace deprecated g_qsort_with_data with g_sort_array 2024-08-15 23:58:53 +02:00
cogl cogl/gles: Revert to unsized GL_BGRA as internalformat for BGRA_8888 2024-08-16 14:24:38 +00:00
data dbus-interfaces: Fix ApplyMonitorsConfig documentation 2024-08-19 13:01:46 +02:00
doc cally: Merge inside Clutter 2024-08-07 22:46:16 +00:00
meson build: Replace custom post-install script 2022-11-19 02:21:05 +01:00
mtk mtk: Move meta_rectangle_transform to Mtk 2024-08-09 15:51:36 +00:00
po Update Romanian translation 2024-08-11 11:28:52 +00:00
src wayland: Set current tool surface to NULL on prox-out 2024-08-21 10:21:33 +00:00
subprojects docs: Prefer using gi-docgen from a subproject 2024-02-09 12:29:50 +00:00
tools tools/debug-control: Handle the service not being exported 2024-07-24 21:52:47 +00:00
.editorconfig Add editorconfig file 2024-05-21 09:09:11 +00:00
.gitignore misc: Add common noisy dirs to gitignore 2024-01-08 19:53:57 +01:00
.gitlab-ci.yml ci: Bump CI/CD component version for building system extensions 2024-08-20 12:23:58 -04:00
check-style.py check-style: Force the default prefix in git diff 2024-03-12 12:47:56 +10:00
config.h.meson backend/native: Define struct drm_plane_size_hint only if libdrm doesn't 2024-07-02 14:09:21 +00:00
COPYING Updated obsolete FSF postal address in COPYING 2014-01-12 08:44:30 +07:00
logo.svg docs: Add a logo 2024-01-09 13:38:54 +00:00
meson.build Replace deprecated g_qsort_with_data with g_sort_array 2024-08-15 23:58:53 +02:00
meson_options.txt build: Add a X11 option 2024-06-27 16:31:56 +02:00
mutter.doap doap: Remove marge-bot maintainer entry 2024-08-13 08:48:28 +00:00
NEWS Bump version to 47.beta 2024-08-03 19:23:22 +02:00
README.md cally: Merge inside Clutter 2024-08-07 22:46:16 +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

Meetings

There are recurring meetings to discuss development of GNOME Shell, mutter and related components.

License

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