[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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244129

            Bug ID: 244129
           Summary: x11-servers/xwayland: use evdev xkb rules by default
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11 at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
          Assignee: x11 at FreeBSD.org
             Flags: maintainer-feedback?(x11 at FreeBSD.org)

Created attachment 211654
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211654&action=edit
v1

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')

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


More information about the freebsd-x11 mailing list