From: Peter Hutterer Date: Wed, 13 Nov 2019 23:52:21 +0000 (+1000) Subject: docs: update the include path documentation X-Git-Tag: xkbcommon-0.10.0~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59d2a71383e38d0a1ef1811d25d5d5f7518d9090;p=platform%2Fupstream%2Flibxkbcommon.git docs: update the include path documentation Missing from e23f1061b2b9c8d40ba7797a5ffbd6d474d604e0 and 3a91788d9254b4571ff883439931f497d8a0663f. Signed-off-by: Peter Hutterer --- diff --git a/xkbcommon/xkbcommon.h b/xkbcommon/xkbcommon.h index 4576330..559d5d7 100644 --- a/xkbcommon/xkbcommon.h +++ b/xkbcommon/xkbcommon.h @@ -616,11 +616,13 @@ xkb_context_get_user_data(struct xkb_context *context); * The include paths are the file-system paths that are searched when an * include statement is encountered during keymap compilation. * - * The default include paths are: - * - The system XKB root, defined at library configuration time. - * If * the `XKB_CONFIG_ROOT` environment is defined, it is used instead. + * The default include paths are, in that lookup order: + * - The path `$XDG_CONFIG_HOME/xkb`, with the usual `XDG_CONFIG_HOME` + * fallback to `$HOME/.config/` if unset. * - The path `$HOME/.xkb`, where $HOME is the value of the environment * variable `HOME`. + * - The `XKB_CONFIG_ROOT` environment variable, if defined, otherwise + * the system XKB root, defined at library configuration time. * * @{ */