diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-08-21 19:06:57 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-08-21 19:06:57 +0200 |
commit | fd524633c472db23e6a4111a81ba343d554abe26 (patch) | |
tree | 9ca499236f3f243672872cab88476043d9e0cf00 | |
parent | be4c0b0120092f0d777704edb4ce34fac3cffb48 (diff) |
Release v2.19.32.19.3
-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); |