mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-13 10:11:43 +00:00
xkb: Replaced hardcoded values with compile time options
The core keyboard before this change always used a layout of "us" even if you
configured the build with another default layout.
Signed-off-by: Michael Dluhosch <michael.dluhosch@gmail.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1549>
(cherry picked from commit e61bd1e5fd)
This commit is contained in:
committed by
Alan Coopersmith
parent
e9819a1a75
commit
9ac7979cff
@@ -893,7 +893,7 @@ configServerFlags(XF86ConfFlagsPtr flagsconf, XF86OptionPtr layoutopts)
|
||||
rules = "base";
|
||||
|
||||
/* Xkb default options. */
|
||||
XkbInitRules(&set, rules, "pc105", "us", NULL, NULL);
|
||||
XkbInitRules(&set, rules, XKB_DFLT_MODEL, XKB_DFLT_LAYOUT, NULL, NULL);
|
||||
XkbSetRulesDflts(&set);
|
||||
XkbFreeRMLVOSet(&set, FALSE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user