doc: correct the include path list
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 16 Jun 2020 00:44:48 +0000 (10:44 +1000)
committerRan Benita <ran@unusedvar.com>
Tue, 16 Jun 2020 08:26:49 +0000 (11:26 +0300)
XKB_CONFIG_ROOT (if defined) replaces the built-in system directories.

Fixes 5fb2c6769b7259ba647781bc800d6a46d90cf1a9

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
doc/user-configuration.md

index ed450fd..886950a 100644 (file)
@@ -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.