diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/wallpaper.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +Mon, 21 Aug 2017 19:04:00 +0200 Daniel Friesel <derf+feh@finalrewind.org> + +* Release v2.19.3 + * Save geometry data in .fehbg when setting a wallpaper with --geometry + * Fix Imlib2 developer warning and improve out-of-memory error message + when using --thumbnails / --index on large directories + Sat, 12 Aug 2017 05:05:24 +0200 Daniel Friesel <derf+feh@finalrewind.org> * Release v2.19.2 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); |