summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-05-16 22:36:06 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-05-16 22:36:06 +0200
commitb359a39b1684455dd91781a8b49906d7eb18fb62 (patch)
treed1bfa60f2d15cbe29c186adf12e80075115bb511
parent790abd84b3cd2a6f6e0b44f456ea98a48cc76b22 (diff)
properly escape image-bg argument in ~/.fehbg
Closes #400
-rw-r--r--src/wallpaper.c2
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) {