aboutsummaryrefslogtreecommitdiff
path: root/swaymsg
diff options
context:
space:
mode:
authorPavel 'LEdoian' Turinsky <ledoian@matfyz.cz>2024-05-03 09:09:14 +0200
committerSimon Ser <contact@emersion.fr>2025-05-18 23:55:44 +0200
commitcaeee85d8d50d9870c2cb35ad310bbca50cf4846 (patch)
treed82c5c0ac4c2f5611ebfe2a237a7c46178e9bd14 /swaymsg
parent6894b498a889d809093c920d397a42db7f5e4970 (diff)
Fix includes with relative paths
The function `load_include_configs` already changes the directory to the one containing the parent config. Therefore, `load_include_config` trying to assemble the "full" path leads to repetition of path segments, making the `realpath` call fail with ENOENT. Just calling `realpath` on the path itself from the directory with the parent configuration is sufficient, so there is no point in passing `parent_dir` to `load_include_config`. (cherry picked from commit 6cac61b6b96c4a48a69f8ec3c06c2df560b01827)
Diffstat (limited to 'swaymsg')
0 files changed, 0 insertions, 0 deletions