From 4e544e2792d2c3dd6f73add54072686b29f83f50 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 16 Jun 2020 10:44:48 +1000 Subject: [PATCH] doc: correct the include path list XKB_CONFIG_ROOT (if defined) replaces the built-in system directories. Fixes 5fb2c6769b7259ba647781bc800d6a46d90cf1a9 Signed-off-by: Peter Hutterer --- doc/user-configuration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/user-configuration.md b/doc/user-configuration.md index ed450fd..886950a 100644 --- a/doc/user-configuration.md +++ b/doc/user-configuration.md @@ -11,9 +11,9 @@ libxkbcommon searches the following paths for XKB configuration files: - `$XDG_CONFIG_HOME/xkb/`, or `$HOME/.config/xkb/` if the `$XDG_CONFIG_HOME` environment variable is not defined - `$HOME/.xkb/` -- `$XKB_CONFIG_ROOT` -- `/X11/xkb/` (path defined by the `xkeyboard-config` package, on most - distributions this is `/usr/share/X11/xkb`) +- `$XKB_CONFIG_ROOT` if set, otherwise `/X11/xkb/` (path defined by the + `xkeyboard-config` package, on most distributions this is + `/usr/share/X11/xkb`) A keymap created with `xkb_keymap_new_from_names()` will look up those paths in order until the required data is found.