maintainer-feedback requested: [Bug 244129] x11-servers/xwayland: use evdev xkb rules by default
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Feb 14 18:18:20 UTC 2020
Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-x11 mailing list
<x11 at FreeBSD.org> for maintainer-feedback:
Bug 244129: x11-servers/xwayland: use evdev xkb rules by default
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244129
--- Description ---
Wayland on FreeBSD only supports evdev(4) input devices, so use matching xkb
rules. This fixes at least Down (arrow) and Left (arrow) key repeat behavior.
Only necessary if using autotools.
configure.ac:
AC_ARG_WITH(default-xkb-rules,
AS_HELP_STRING([--with-default-xkb-rules=RULES],
[Keyboard ruleset (default: base/evdev)]),
[ XKB_DFLT_RULES="$withval" ],
[ XKB_DFLT_RULES="" ])
if test "x$XKB_DFLT_RULES" = x; then
case $host_os in
linux*)
dnl doesn't take AutoAddDevices into account, but whatever.
XKB_DFLT_RULES="evdev"
;;
*)
XKB_DFLT_RULES="base"
;;
esac
fi
meson_options.txt:
option('xkb_default_rules', type: 'string', value: 'evdev')
More information about the freebsd-x11
mailing list