phkaeser / wlmaker

Wayland Maker - A Wayland compositor inspired by Window Maker
Apache License 2.0
133 stars 4 forks source link

Config file in ~/.wlmaker.plist triggers "errno(2): No such file or directory" #109

Closed phkaeser closed 2 weeks ago

phkaeser commented 2 weeks ago

Reported in #97, and reproduced. Looks like a snag when resolving the '~' component into $HOME.

Workaround: Use the commandline argument --config_file=${HOME}/.wlmaker.plist'. The shell will expand${HOME}`.

phkaeser commented 2 weeks ago

Appears I had never exercised the codepath; and the resolved path (translating ~ to the value of getenv("HOME")) hadn't been used. #110 addresses that.