summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2020-06-16 10:44:48 +1000
committerRan Benita <ran@unusedvar.com>2020-06-16 11:26:49 +0300
commit4e544e2792d2c3dd6f73add54072686b29f83f50 (patch)
tree97e392ed076504f40d6ca53e00d7aea9ea7f71d2 /doc
parent5fb2c6769b7259ba647781bc800d6a46d90cf1a9 (diff)
downloadxorg-lib-libxkbcommon-4e544e2792d2c3dd6f73add54072686b29f83f50.tar.gz
doc: correct the include path list
XKB_CONFIG_ROOT (if defined) replaces the built-in system directories. Fixes 5fb2c6769b7259ba647781bc800d6a46d90cf1a9 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/user-configuration.md6
1 files 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`
-- `<datadir>/X11/xkb/` (path defined by the `xkeyboard-config` package, on most
- distributions this is `/usr/share/X11/xkb`)
+- `$XKB_CONFIG_ROOT` if set, otherwise `<datadir>/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.