[Bug 271824] x11-wm/mutter: enable evdev/udev support

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 25 Jun 2023 11:00:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271824

--- Comment #4 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to Charlie Li from comment #1)
> given the state of base and supporting port(s) in this area.

Xorg defaults to udev/evdev since ports 4b9c697c260c but X11 itself is
agnostic. On Wayland udev/evdev is not required by the protocol but "de facto"
mandatory to avoid writing syscons backend (vt(4) uses syscons uAPI) on
DragonFly + FreeBSD or wscons backend on NetBSD + OpenBSD for everything
input-related.

Otherwise, I have no clue what you mean. To avoid udev/evdev on FreeBSD one has
either to rebuild xorg-server with UDEV disabled and use
xf86-input-{mouse,keyboard) or run DE like GNOME/X11 under Xwin or Xquartz via
"ssh -X".

(In reply to Olivier Duchateau from comment #2)
> Mutter reports only warnings about my USB mouse

Looking at Mutter/X11 code:
- udev is limited to distinguishing mouse from touchpad
- evdev is used to translate pointer buttons between Xorg and *nested* "mutter
--wayland" (bug 258042)

Thanks for testing i.e., confirming no X11 regressions.

-- 
You are receiving this mail because:
You are the assignee for the bug.