Hello community,

here is the log from the commit of package feh for openSUSE:Factory checked in 
at 2018-06-19 11:57:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/feh (Old)
 and      /work/SRC/openSUSE:Factory/.feh.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "feh"

Tue Jun 19 11:57:23 2018 rev:25 rq:616386 version:2.26.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/feh/feh.changes  2018-05-15 10:33:28.392031231 
+0200
+++ /work/SRC/openSUSE:Factory/.feh.new/feh.changes     2018-06-19 
11:57:27.499855688 +0200
@@ -1,0 +2,13 @@
+Sun Jun 10 09:29:49 UTC 2018 - antoine.belv...@opensuse.org
+
+- Update to 2.26.3:
+  * Properly escape --image-bg argument in ~/.fehbg (broken in
+    2.26.1).
+- Update to 2.26.2:
+  * Show correct filelist position in windows opened from thumbnail
+    mode.
+  * Note that navigation is still not supported in those windows.
+  * Improve support for key input from stdin.
+  * Do not push menus off the screen when hitting screen limits.
+
+-------------------------------------------------------------------

Old:
----
  feh-2.26.1.tar.bz2
  feh-2.26.1.tar.bz2.asc

New:
----
  feh-2.26.3.tar.bz2
  feh-2.26.3.tar.bz2.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ feh.spec ++++++
--- /var/tmp/diff_new_pack.WNa96n/_old  2018-06-19 11:57:28.267827172 +0200
+++ /var/tmp/diff_new_pack.WNa96n/_new  2018-06-19 11:57:28.271827024 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           feh
-Version:        2.26.1
+Version:        2.26.3
 Release:        0
 Summary:        X11 image viewer
 License:        MIT AND LGPL-2.0-or-later

++++++ feh-2.26.1.tar.bz2 -> feh-2.26.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/COPYING new/feh-2.26.3/COPYING
--- old/feh-2.26.1/COPYING      2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/COPYING      2018-05-18 23:00:55.000000000 +0200
@@ -1,5 +1,5 @@
 Copyright (C) 1999,2000 Tom Gilbert.
-Copyright (C) 2010-2016 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/ChangeLog new/feh-2.26.3/ChangeLog
--- old/feh-2.26.1/ChangeLog    2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/ChangeLog    2018-05-18 23:00:55.000000000 +0200
@@ -1,3 +1,16 @@
+Fri, 18 May 2018 22:58:02 +0200  Daniel Friesel <derf+...@finalrewind.org>
+
+* Release v2.26.3
+    * Properly escape --image-bg argument in ~/.fehbg (broken in 2.26.1)
+
+Sat, 12 May 2018 16:33:56 +0200  Daniel Friesel <derf+...@finalrewind.org>
+
+* Release v2.26.2
+    * Show correct filelist position in windows opened from thumbnail mode.
+      Note that navigation is still not supported in those windows
+    * Improve support for key input from stdin
+    * Do not push menus off the screen when hitting screen limits
+
 Fri, 11 May 2018 15:11:17 +0200  Daniel Friesel <derf+...@finalrewind.org>
 
 * Release v2.26.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/config.mk new/feh-2.26.3/config.mk
--- old/feh-2.26.1/config.mk    2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/config.mk    2018-05-18 23:00:55.000000000 +0200
@@ -1,5 +1,5 @@
 PACKAGE ?= feh
-VERSION ?= 2.26.1
+VERSION ?= 2.26.3
 
 app ?= 0
 cam ?= 0
@@ -87,7 +87,7 @@
        MAN_EXIF = disabled
 endif
 
-MAN_DATE ?= May 11, 2018
+MAN_DATE ?= May 18, 2018
 
 # Uncomment this to use dmalloc
 #CFLAGS += -DWITH_DMALLOC
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/man/feh.pre new/feh-2.26.3/man/feh.pre
--- old/feh-2.26.1/man/feh.pre  2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/man/feh.pre  2018-05-18 23:00:55.000000000 +0200
@@ -234,9 +234,13 @@
 .
 .It Cm -P , --cache-thumbnails
 .
-Enable thumbnail caching in
-.Pa ~/.thumbnails .
-Only works with thumbnails <= 256x256 pixels.
+Enable thumbnail caching.
+Thumbnails are saved in
+.Pa $XDG_CACHE_HOME/thumbnails ,
+which defaults to
+.Pa ~/.cache/thumbnails .
+Note that thumbnails are only cached if the configured thumbnail size does
+not exceed 256x256 pixels.
 .
 .It Cm -K , --caption-path Ar path
 .
@@ -1334,7 +1338,10 @@
 However, terminal input support is currently limited to most alphanumeric
 characters
 .Pq 0-9 a-z A-Z and some more ,
-return and backspace.
+arrow keys, return and backspace.
+The Alt
+.Pq Mod1
+modifier is also supported.
 .
 .Bl -tag -width indent
 .
@@ -1807,8 +1814,7 @@
 .
 .It feh -t -Sfilename -E 128 -y 128 -W 1024 -P -C 
/usr/share/fonts/truetype/ttf-dejavu/ -e DejaVuSans/8 ~/Pictures
 .
-Same as above, but enable thumbnail caching in ~/.thumbnails and use a smaller
-font.
+Same as above, but enable thumbnail caching and use a smaller font.
 .
 .It feh -irFarial/14 -O index.jpg ~/Pictures
 .
@@ -1943,7 +1949,7 @@
 .
 Copyright (C) 1999, 2000 by Paul Duncan.
 Copyright (C) 1999, 2000 by Tom Gilbert (and various contributors).
-Copyright (C) 2010-2016 by Daniel Friesel (and even more contributors).
+Copyright (C) 2010-2018 by Daniel Friesel (and even more contributors).
 .
 .Pp
 .
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/collage.c new/feh-2.26.3/src/collage.c
--- old/feh-2.26.1/src/collage.c        2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/collage.c        2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* collage.c
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/debug.h new/feh-2.26.3/src/debug.h
--- old/feh-2.26.1/src/debug.h  2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/debug.h  2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* debug.h
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/events.c new/feh-2.26.3/src/events.c
--- old/feh-2.26.1/src/events.c 2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/events.c 2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* events.c
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
@@ -509,6 +509,8 @@
                                dy = scr_height - (m->y + m->h);
                                dx = dx < 0 ? dx : 0;
                                dy = dy < 0 ? dy : 0;
+                               dx = m->x + dx < 0 ? -m->x : dx;
+                               dy = m->y + dy < 0 ? -m->y : dy;
                                if (dx || dy)
                                        feh_menu_slide_all_menus_relative(dx, 
dy);
                        }
@@ -521,6 +523,8 @@
                                dy = scr->height - (m->next->y + m->next->h);
                                dx = dx < 0 ? dx : 0;
                                dy = dy < 0 ? dy : 0;
+                               dx = m->x + dx < 0 ? -m->x : dx;
+                               dy = m->y + dy < 0 ? -m->y : dy;
                                if (dx || dy)
                                        feh_menu_slide_all_menus_relative(dx, 
dy);
                        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/feh.h new/feh-2.26.3/src/feh.h
--- old/feh-2.26.1/src/feh.h    2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/feh.h    2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* feh.h
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/filelist.c 
new/feh-2.26.3/src/filelist.c
--- old/feh-2.26.1/src/filelist.c       2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/filelist.c       2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* filelist.c
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/imlib.c new/feh-2.26.3/src/imlib.c
--- old/feh-2.26.1/src/imlib.c  2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/imlib.c  2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* imlib.c
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/index.c new/feh-2.26.3/src/index.c
--- old/feh-2.26.1/src/index.c  2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/index.c  2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* index.c
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/index.h new/feh-2.26.3/src/index.h
--- old/feh-2.26.1/src/index.h  2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/index.h  2018-05-18 23:00:55.000000000 +0200
@@ -1,6 +1,6 @@
 /* index.h
 
-Copyright (C) 2011 Daniel Friesel.
+Copyright (C) 2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/keyevents.c 
new/feh-2.26.3/src/keyevents.c
--- old/feh-2.26.1/src/keyevents.c      2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/keyevents.c      2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* keyevents.c
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
@@ -317,6 +317,7 @@
 void feh_event_handle_stdin()
 {
        char stdin_buf[2];
+       static char is_esc = 0;
        KeySym keysym = NoSymbol;
        if (read(STDIN_FILENO, &stdin_buf, 1) == -1) {
                control_via_stdin = 0;
@@ -328,17 +329,40 @@
        }
        stdin_buf[1] = '\0';
 
+       // escape?
+       if (stdin_buf[0] == 0x1b) {
+               is_esc = 1;
+               return;
+       }
+       if ((is_esc == 1) && (stdin_buf[0] == '[')) {
+               is_esc = 2;
+               return;
+       }
+
        if (stdin_buf[0] == ' ')
                keysym = XK_space;
        else if (stdin_buf[0] == '\n')
                keysym = XK_Return;
        else if ((stdin_buf[0] == '\b') || (stdin_buf[0] == 127))
                keysym = XK_BackSpace;
+       else if (is_esc == 2) {
+               if (stdin_buf[0] == 'A')
+                       keysym = XK_Up;
+               else if (stdin_buf[0] == 'B')
+                       keysym = XK_Down;
+               else if (stdin_buf[0] == 'C')
+                       keysym = XK_Right;
+               else if (stdin_buf[0] == 'D')
+                       keysym = XK_Left;
+               is_esc = 0;
+       }
        else
                keysym = XStringToKeysym(stdin_buf);
 
        if (window_num)
-               feh_event_handle_generic(windows[0], 0, keysym, 0);
+               feh_event_handle_generic(windows[0], is_esc * Mod1Mask, keysym, 
0);
+
+       is_esc = 0;
 }
 
 void feh_event_handle_keypress(XEvent * ev)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/list.c new/feh-2.26.3/src/list.c
--- old/feh-2.26.1/src/list.c   2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/list.c   2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* list.c
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/main.c new/feh-2.26.3/src/main.c
--- old/feh-2.26.1/src/main.c   2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/main.c   2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* main.c
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/menu.c new/feh-2.26.3/src/menu.c
--- old/feh-2.26.1/src/menu.c   2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/menu.c   2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* menu.c
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/menu.h new/feh-2.26.3/src/menu.h
--- old/feh-2.26.1/src/menu.h   2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/menu.h   2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* menu.h
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/options.c new/feh-2.26.3/src/options.c
--- old/feh-2.26.1/src/options.c        2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/options.c        2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* options.c
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/options.h new/feh-2.26.3/src/options.h
--- old/feh-2.26.1/src/options.h        2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/options.h        2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* options.h
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/signals.c new/feh-2.26.3/src/signals.c
--- old/feh-2.26.1/src/signals.c        2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/signals.c        2018-05-18 23:00:55.000000000 +0200
@@ -1,6 +1,6 @@
 /* signals.c
 
-Copyright (C) 2010 by Daniel Friesel
+Copyright (C) 2010-2018 by Daniel Friesel
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/slideshow.c 
new/feh-2.26.3/src/slideshow.c
--- old/feh-2.26.1/src/slideshow.c      2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/slideshow.c      2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* slideshow.c
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/structs.h new/feh-2.26.3/src/structs.h
--- old/feh-2.26.1/src/structs.h        2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/structs.h        2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* structs.h
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/thumbnail.c 
new/feh-2.26.3/src/thumbnail.c
--- old/feh-2.26.1/src/thumbnail.c      2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/thumbnail.c      2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* thumbnail.c
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
@@ -766,17 +766,26 @@
 void feh_thumbnail_show_fullsize(feh_file *thumbfile)
 {
        winwidget thumbwin = NULL;
+       gib_list *l;
+
+       for (l = filelist; l; l = l->next) {
+               if (FEH_FILE(l->data) == thumbfile) {
+                       break;
+               }
+       }
+       if (!l) {
+               eprintf("Cannot find %s in filelist, wtf", thumbfile->filename);
+       }
 
        thumbwin = 
winwidget_get_first_window_of_type(WIN_TYPE_THUMBNAIL_VIEWER);
        if (!thumbwin) {
                thumbwin = winwidget_create_from_file(
-                               gib_list_add_front(NULL, thumbfile),
+                               l,
                                WIN_TYPE_THUMBNAIL_VIEWER);
                if (thumbwin)
                        winwidget_show(thumbwin);
        } else if (FEH_FILE(thumbwin->file->data) != thumbfile) {
-               free(thumbwin->file);
-               thumbwin->file = gib_list_add_front(NULL, thumbfile);
+               thumbwin->file = l;
                feh_reload_image(thumbwin, 1, 1);
        }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/thumbnail.h 
new/feh-2.26.3/src/thumbnail.h
--- old/feh-2.26.1/src/thumbnail.h      2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/thumbnail.h      2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* thumbnail.h
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/timers.c new/feh-2.26.3/src/timers.c
--- old/feh-2.26.1/src/timers.c 2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/timers.c 2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* timers.c
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/wallpaper.c 
new/feh-2.26.3/src/wallpaper.c
--- old/feh-2.26.1/src/wallpaper.c      2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/wallpaper.c      2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* wallpaper.c
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
@@ -473,7 +473,7 @@
                                                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) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/wallpaper.h 
new/feh-2.26.3/src/wallpaper.h
--- old/feh-2.26.1/src/wallpaper.h      2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/wallpaper.h      2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* wallpaper.h
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/winwidget.c 
new/feh-2.26.3/src/winwidget.c
--- old/feh-2.26.1/src/winwidget.c      2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/winwidget.c      2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* winwidget.c
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
@@ -773,8 +773,6 @@
                free(winwid->name);
        if (winwid->gc)
                XFreeGC(disp, winwid->gc);
-       if ((winwid->type == WIN_TYPE_THUMBNAIL_VIEWER) && (winwid->file != 
NULL))
-               gib_list_free(winwid->file);
        if (winwid->im)
                gib_imlib_free_image_and_decache(winwid->im);
        free(winwid);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feh-2.26.1/src/winwidget.h 
new/feh-2.26.3/src/winwidget.h
--- old/feh-2.26.1/src/winwidget.h      2018-05-11 15:23:09.000000000 +0200
+++ new/feh-2.26.3/src/winwidget.h      2018-05-18 23:00:55.000000000 +0200
@@ -1,7 +1,7 @@
 /* winwidget.h
 
 Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2011 Daniel Friesel.
+Copyright (C) 2010-2018 Daniel Friesel.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to


Reply via email to