mutter:wip/carlosg/inputfd

Last commit made on 2022-11-13
Get this branch:
git clone -b wip/carlosg/inputfd https://git.launchpad.net/mutter

Branch merges

Branch information

Name:
wip/carlosg/inputfd
Repository:
lp:mutter

Recent commits

5375471... by Carlos Garnacho

wayland: Implement the "inputfd" wayland protocols

This allows lending control to applications of evdev devices,
and withdrawing it with focus changes. Underneath, the device
FD is revoked control through the EVIOCREVOKE ioctl, and closed.
The newly focused client receives a brand new FD obtained through
logind, which will be again revoked in a future focus change.

7e838b1... by Robert Mader

wayland/outputs: Implement wl_output v4

This version adds the name and description events already present
in xdg_output.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2692>

1b1eed0... by Robert Mader

wayland/outputs: Implement wl_output v3

This version adds a release event, allowing clients to tell the
server that it can clean up the related wl_resource.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2692>

e43234f... by Carlos Garnacho

backends: Use Clutter API to get dimensions at MetaInputMapper

We can now ask the ClutterInputDevice about its physical size, instead
of resorting to udev.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2617>

b040964... by Carlos Garnacho

backends/x11: Implement get_dimensions() in X11 input devices

We can get the information from X11 itself, so do the calculations to return
the device physical size.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2617>

21fb6cc... by Carlos Garnacho

backends/native: Implement get_dimensions() in native devices

We already poked the libinput device size, so use that.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2617>

c28ab9a... by Carlos Garnacho

clutter: Add clutter_input_device_get_dimensions()

This will be used to know the size of touchscreens and tablets
by poking the backends about it. This is intended to replace code
using udev nowadays.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2617>

a37bec2... by Carlos Garnacho

backends: Drop MetaInputSettings vfunc to figure out trackballs

These now have a capability, so we don't need this vfunc anymore.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2617>

23c931f... by Carlos Garnacho

backends/x11: Avoid usage of udev in MetaInputSettingsX11

Use device capabilities instead.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2617>

7dd25b6... by Carlos Garnacho

backends/native: Avoid direct udev usage in MetaInputSettingsNative

Use device capabilities to figure out whether configuration applies to
a device or not.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2617>