Go to file
Peter Hutterer b5e9279ea0 backends/x11: Fetch the tablet serial prop on device add
For tablet device, the tool was created when the "Wacom Serial IDs" prop
changed values. This property does not exist on the xf86-input-libinput
driver but v1.5.0 of that driver has a different property for the serial.

The serial is constant (the driver creates one X device per serial), so
we can fetch it after device creation and set it then. For earlier
versions of the driver we assign the random serial 0xffffffaa - good
enough to have at least a tool.

This fixes the crash in #3120 - clutter_event_motion_new()
overrides event->device to the tool's device (if any). Without a tool
motion events use the Virtual Core Pointer instead and our source device
is never added to the stage's priv->pointer_devices.

When we generate an crossing event (which uses the source device) we
fall afoul of an assert in clutter_stage_update_device() that expects
our source device to be in priv->pointer_devices.

Fixes https://gitlab.gnome.org/GNOME/mutter/-/issues/3120

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3383>
2024-01-09 17:33:33 +00:00
.gitlab/issue_templates gitlab: Add missing < in markdown comment tag 2020-02-14 03:10:28 +00:00
.gitlab-ci ci: Look for matching ref in user remote for branch pipeline 2023-08-08 04:11:13 +02:00
clutter build: Enable no-omit-frame-pointer for all non-plain builds 2024-01-09 16:26:57 +00: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: Move kms abstractions to a separate file 2024-01-09 15:23:04 +00:00
meson build: Replace custom post-install script 2022-11-19 02:21:05 +01:00
mtk build: Enable no-omit-frame-pointer for all non-plain builds 2024-01-09 16:26:57 +00:00
po Update Georgian translation 2024-01-08 08:54:47 +00:00
src backends/x11: Fetch the tablet serial prop on device add 2024-01-09 17:33:33 +00:00
subprojects build: Update sysprof build options 2022-12-17 19:58:00 +00:00
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: Mark our git clone as a safe directory 2023-12-13 11:09:32 +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 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_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.