diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-02-07 02:16:38 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-02-11 10:22:53 -0500 |
commit | 8229814e7a8122b022e5f92fb4d925b00d0d4b1c (patch) | |
tree | a75a0501eb55dcb4f2ef7c18f76f3721000e07c7 /completions/bash/swaymsg | |
parent | Clarify error for options and positional args (diff) | |
download | sway-8229814e7a8122b022e5f92fb4d925b00d0d4b1c.tar.gz sway-8229814e7a8122b022e5f92fb4d925b00d0d4b1c.tar.zst sway-8229814e7a8122b022e5f92fb4d925b00d0d4b1c.zip |
load_main_config: use given path, store realpath
Since `load_include_config` compares against the realpath of a config
file when checking if a config has already been added, the main config's
realpath has to be added to the config_chain.
However, includes from the main config should be processed relative to
the path given to allow for symbolic links. This stores the realpath in
`config->config_chain`, but uses the given path for all other
operations.
Diffstat (limited to 'completions/bash/swaymsg')
0 files changed, 0 insertions, 0 deletions