mutter/src
Jonas Dreßler e5b50d14cf wayland: Get device directly from clutter in get_grab_info() for touch case
When we call get_grab_info() to get the sequence, device and coordinates for
a touch window drag, as the device we use the device from the
MetaWaylandPointer, assuming that it's set to the core pointer.

In the case where there is no pointer device present on the seat (so no
mouse nor touchpad), the wayland pointer remains disabled though, and
pointer->device is NULL.

This means touch window dragging on hardware without pointer devices
present is broken (because MetaWindowDrag assumes that there's a valid
device passed in meta_window_drag_begin()). Fix it by taking the core
pointer directly from ClutterSeat instead of going the extra detour through
MetaWaylandPointer.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3238>
2023-09-03 09:12:29 +00:00
..
backends eis-client: Always set has_position variable 2023-09-02 19:05:13 +00:00
common Update license access method 2023-08-30 08:48:23 +02:00
compositor mtk: Move Rectangle.from_graphene_rect from Meta 2023-08-30 16:46:14 +02:00
core backends: Drop X11 ClutterBackend error traps 2023-09-02 09:52:54 +00:00
frames cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta monitor-manager: Add 'reason' argument to 'power-save-changed' signal 2023-09-02 11:07:38 +00:00
tests renderer/native: Don't queue mode set on hotplug power-save on 2023-09-02 11:07:39 +00:00
wayland wayland: Get device directly from clutter in get_grab_info() for touch case 2023-09-03 09:12:29 +00:00
x11 mtk: Make error traps multi-display 2023-09-02 09:52:54 +00:00
meson.build eis: Add "viewport" interface 2023-09-01 10:43: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