diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-02-14 17:40:47 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-02-14 17:40:47 +0100 |
commit | d63e1cdd97d9c492733c798d1b5f55c0267b0160 (patch) | |
tree | bac910f0a87e598ea0f59367e1b5976ede2568cb | |
parent | 942841ef4d99522eed37609a24ecb8786cb51659 (diff) |
Do not omit filenames in ~/.fehbg when using --no-xinerama (#456)
-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 f0bf891..9df259f 100644 --- a/src/wallpaper.c +++ b/src/wallpaper.c @@ -503,7 +503,7 @@ void feh_wm_set_bg(char *fil, Imlib_Image im, int centered, int scaled, fputc(' ', fp); if (use_filelist) { #ifdef HAVE_LIBXINERAMA - for (int i = 0; (i < num_xinerama_screens) && filelist_pos; i++) { + for (int i = 0; (i < opt.xinerama ? num_xinerama_screens : 1) && filelist_pos; i++) { #else for (int i = 0; (i < 1 ) && filelist_pos; i++) { #endif |