1
0
Fork 0
mutter-performance-source/src
Carlos Garnacho e731f2a055 wayland: Double check surface/window before looking for modals
While it should not be expected that we pick the pointer into a
MetaSurfaceActor that is disembodied of its MetaWaylandSurface/MetaWindow,
the paths where this should be enforced are somewhat scattered.

So account for the situation in picking code, and prefer a NULL surface
over a crash. This operates on the assumption that this inconsistent state
where Mutter didn't know better to pick a correct surface actor will be fixed
by later crossing events resolving the intermediate state, and that no
other input events will be received meanwhile.

Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3393
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3729>
2024-06-07 17:02:14 +02:00
..
backends backend/native: Adds support for SIZE_HINTS Cursor Plane Property 2024-06-04 16:39:16 +00:00
common common/cogl-drm-formats: Split out format to string helper 2024-04-16 21:05:09 +00:00
compositor compositor: Make surface actors unreactive after losing their surface 2024-06-07 17:01:26 +02:00
core window: Replace map/unmap vfunc with signal 2024-06-07 12:04:27 +02:00
frames Revert "frames: Always initialize _MUTTER_FRAME_EXTENTS to zero" 2024-03-01 10:54:32 +01:00
meta keybindings: Send trigger when a key accelerator is deactivated 2024-05-28 09:27:39 +00:00
tests src/backends: Add MetaSubpixelOrder 2024-06-03 08:31:58 +00:00
third_party x11: Use the embedded xcursor functions where possible 2024-05-24 13:02:42 +00:00
wayland wayland: Double check surface/window before looking for modals 2024-06-07 17:02:14 +02:00
x11 window/x11: Remove unnecessary user_data 2024-06-07 12:05:36 +02:00
meson.build core: Move frame related types to x11 2024-05-27 12:50:26 +00:00
meta-private-enum-types.c.in build: Add missing include 2022-08-10 20:28:40 +02:00
meta-private-enum-types.h.in cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00