mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
Some (presumably stale) calls to wcopy_file used what appears to be an incorrect destination which did not always exist. This patch forces assets to be copied under <themedir>/<asset>, rather than <themedir><absolute path of asset>. It works by first getting the "new" path (i.e. the one that will be inserted in the property list), which is relative to <themedir> (and appears to be always in the root directory, too); it then copies the file to that path. This *may* have been the original intended behaviour, as the one it replaces clutters the path and leaks configuration data. In addition, the style file seems to store only the file's name, not the path relative to <themedir>, even when the file is copied with its full hierarchy. Signed-off-by: Alexandru Lazar <alazar@startmail.com>
9.4 KiB
9.4 KiB