diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-02-07 02:16:38 -0500 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-02-07 09:41:05 +0100 |
commit | 5a32a74b2d0e4685527bd78d5052aafe2df4b8f2 (patch) | |
tree | cab7212e3b0f6e3ec395b03194b5b4d20cdf04bf /sway/commands/exec_always.c | |
parent | ee56428b642d8f75350ae2698706c1b88898acf5 (diff) |
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 'sway/commands/exec_always.c')
0 files changed, 0 insertions, 0 deletions