summaryrefslogtreecommitdiff
path: root/src/wallpaper.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-08-21 19:06:57 +0200
committerDaniel Friesel <derf@finalrewind.org>2017-08-21 19:06:57 +0200
commitfd524633c472db23e6a4111a81ba343d554abe26 (patch)
tree9ca499236f3f243672872cab88476043d9e0cf00 /src/wallpaper.c
parentbe4c0b0120092f0d777704edb4ce34fac3cffb48 (diff)
Release v2.19.32.19.3
Diffstat (limited to 'src/wallpaper.c')
-rw-r--r--src/wallpaper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallpaper.c b/src/wallpaper.c
index 41f2b55..2f7810f 100644
--- a/src/wallpaper.c
+++ b/src/wallpaper.c
@@ -317,7 +317,7 @@ void feh_wm_set_bg(char *fil, Imlib_Image im, int centered, int scaled,
snprintf(argptr, sizeof(fehbg_args), "--no-xinerama");
argptr += strlen(argptr);
#endif /* HAVE_LIBXINERAMA */
- if ((opt.geom_flags & XValue) && (sizeof(fehbg_args) - strlen(fehbg_args) > 20)) {
+ if ((opt.geom_flags & XValue) && (sizeof(fehbg_args) - strlen(fehbg_args) > 60)) {
snprintf(argptr, sizeof(fehbg_args) - strlen(fehbg_args), " --geometry %c%d",
opt.geom_flags & XNegative ? '-' : '+',
opt.geom_flags & XNegative ? abs(opt.geom_x) : opt.geom_x);