mutter/src
Carlos Garnacho 2a584a8f01 wayland: Make use of Wayland event grabbing mechanism
Enable grabbing input for popups, and drag-and-drop. Since the very
switch to using ClutterGrab underneath Wayland grabs will challenge
assumptions in existing code, these had to change in one go. A notable
one is that meta_display_windows_are_interactable() is not 100% true
anymore for xdg_popups, at least not the same.

Another change happening in lockstep is MetaDnD no longer having
to funnel events to Wayland, since the grab triggered by Wayland DnD
is now a cause of "compositor grabs", and will naturally receive events
as long as it hold. while "modal".

A number of ad-hoc checks for grabbing state has also been dropped
from src/wayland/ internals, since again Wayland grabs are a reason
for Clutter grabs, plus the mechanism itself will already take care
of focus loss and restoration.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3420>
2024-02-13 12:36:26 +01:00
..
backends backends/native: Allow infinitely small pointer constraint regions 2024-02-13 12:36:26 +01:00
common backend/native: Move DrmFormatBuf to cogl-drm-formats 2024-01-03 14:46:41 +01:00
compositor wayland: Make use of Wayland event grabbing mechanism 2024-02-13 12:36:26 +01:00
core wayland: Make use of Wayland event grabbing mechanism 2024-02-13 12:36:26 +01:00
frames frames: Notify borders on first content resize 2024-01-03 19:31:51 +00:00
meta meta: Drop deprecated methods 2024-02-09 18:03:09 +01:00
tests clutter: Make ClutterGrab a GObject 2024-02-13 12:36:26 +01:00
wayland wayland: Make use of Wayland event grabbing mechanism 2024-02-13 12:36:26 +01:00
x11 group: Move various functions to MetaWindowX11 2024-02-08 16:55:06 +01:00
meson.build wayland: Introduce MetaWaylandInput/MetaWaylandEventInterface 2024-02-13 01:01:48 +01: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