diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-05-16 22:36:06 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-05-16 22:36:06 +0200 |
commit | b359a39b1684455dd91781a8b49906d7eb18fb62 (patch) | |
tree | d1bfa60f2d15cbe29c186adf12e80075115bb511 | |
parent | 790abd84b3cd2a6f6e0b44f456ea98a48cc76b22 (diff) |
properly escape image-bg argument in ~/.fehbg
Closes #400
-rw-r--r-- | src/wallpaper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallpaper.c b/src/wallpaper.c index 7cf2468..f1fb149 100644 --- a/src/wallpaper.c +++ b/src/wallpaper.c @@ -473,7 +473,7 @@ void feh_wm_set_bg(char *fil, Imlib_Image im, int centered, int scaled, fputs("tile", fp); if (opt.image_bg) { fputs(" --image-bg ", fp); - fputs(opt.image_bg, fp); + fputs(shell_escape(opt.image_bg), fp); } #ifdef HAVE_LIBXINERAMA if (opt.xinerama) { |