From b257e011c4390900f14491e2cffe38b2d00892ec Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 26 Feb 2012 10:38:53 +0100 Subject: fix zoom_default for --scale-down --- ChangeLog | 2 ++ src/keyevents.c | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index eda2b30..eb6a0f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,8 @@ git HEAD * format specifier %P now prints the number of pixels with k/M suffix, like %S. Printing the program name ("feh") is no longer supported * feh --list now uses %S/%P to print image size and amount of pixels + * Fix zoom_default key (caused blurry images in some cases due to a bad + workaround) Thu, 02 Feb 2012 21:04:06 +0100 Daniel Friesel diff --git a/src/keyevents.c b/src/keyevents.c index 0ada751..fd8a4d2 100644 --- a/src/keyevents.c +++ b/src/keyevents.c @@ -607,9 +607,11 @@ void feh_event_handle_keypress(XEvent * ev) winwid->old_zoom = 1.001; winwidget_center_image(winwid); winwidget_render_image(winwid, 0, 0); - /* --scale-down will also do weird stuff if zoom is 1.0 */ - if (opt.scale_down) - winwid->zoom = 1.001; + /* + * --scale-down used to do weird stuff for zoom = 1.0, but setting + * it to another value here is not the way to go. Also, couldn't + * reproduce the issue -- 2012-02-16 + */ } else if (feh_is_kp(&keys.zoom_fit, keysym, state)) { feh_calc_needed_zoom(&winwid->zoom, winwid->im_w, winwid->im_h, winwid->w, winwid->h); -- cgit v1.2.3 From f24e46871c9eb41f2b43e91b18164c3d232255f8 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 26 Feb 2012 21:31:58 +0100 Subject: README: link to reald/feh for exif=1 --- README | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README b/README index 737d4fc..97c644c 100644 --- a/README +++ b/README @@ -56,6 +56,9 @@ variables instead of editing it. E.g.: CFLAGS='-g -Os' make export DESTDIR=/tmp/feh PREFIX=/usr; make && make install +Builtin EXIF support is maintained by Dennis Real, see +. + Testing (non-X) --------------- -- cgit v1.2.3 From 2c98e4ba39a99dcf09de11962a7a611c39b1faaa Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 28 Feb 2012 18:42:33 +0100 Subject: feh(1): Update CONFIGURATION --- man/feh.pre | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/man/feh.pre b/man/feh.pre index acb4948..b2dd22f 100644 --- a/man/feh.pre +++ b/man/feh.pre @@ -826,11 +826,13 @@ version .Sh CONFIGURATION . .Nm -has two config files: +has three config files: .Pa themes -for theme definitions and +for theme definitions, .Pa keys -for key bindings. +for key bindings and +.Pa buttons +for mouse button bindings. It will try to read them from .Pa $XDG_CONFIG_HOME/feh/ , which @@ -891,8 +893,7 @@ the end of a line, like in the shell. . .Pp . -You can combine these themes with commandline options. An example fehrc is -provided with a couple of cool example themes. +You can combine these themes with commandline options. . . .Sh KEYS CONFIG SYNTAX -- cgit v1.2.3 From c22ed4ca647c4c11d52ec2c8f715063260d41c88 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 28 Feb 2012 18:45:21 +0100 Subject: feh(1): make config file names clearer --- man/feh.pre | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/man/feh.pre b/man/feh.pre index b2dd22f..f5bfcba 100644 --- a/man/feh.pre +++ b/man/feh.pre @@ -850,7 +850,8 @@ Note that mid-line comments are not supported. . .Sh THEMES CONFIG SYNTAX . -This file allows the naming of option groups, called themes. +.Pa .config/feh/themes +allows the naming of option groups, called themes. . .Pp . @@ -898,7 +899,9 @@ You can combine these themes with commandline options. . .Sh KEYS CONFIG SYNTAX . -This file defines the key bindings. It has entries of the form +.Pa .config/feh/keys +defines key bindings. +It has entries of the form .Qq Ar action Op Ar key1 Op Ar key2 Op Ar key3 . . .Pp @@ -1195,6 +1198,7 @@ Select highlighted menu item . .Sh BUTTONS CONFIG SYNTAX . +.Pa .config/feh/buttons . This works like the keys config file: the entries are of the form .Qq Ar action Op Ar binding . . -- cgit v1.2.3