Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2020 18:18:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 244129] x11-servers/xwayland: use evdev xkb rules by default
Message-ID:  <bug-244129-7141@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
          Assignee: x11@FreeBSD.org
             Flags: maintainer-feedback?(x11@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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244129-7141>