summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Real <github@tildepipe.org>2012-02-28 22:36:08 +0100
committerDennis Real <github@tildepipe.org>2012-02-28 22:36:08 +0100
commite0bedc0438cf4ab4eafe43afca0886ad63591560 (patch)
tree957ebc0131270c86860612299e1bd92274d0a4be
parent46801fee8de26f4e0af2ed294c3a4f7fc1c45ca3 (diff)
parent69ecc5c1fdbff7c26d2d59cfdda86eeaf0ffadff (diff)
Merge remote branch 'upstream/master'
-rw-r--r--ChangeLog2
-rw-r--r--README3
-rw-r--r--man/feh.pre19
-rw-r--r--src/keyevents.c8
4 files changed, 22 insertions, 10 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 <derf@finalrewind.org>
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
+<https://github.com/reald/feh>.
+
Testing (non-X)
---------------
diff --git a/man/feh.pre b/man/feh.pre
index acb4948..f5bfcba 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
@@ -848,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
.
@@ -891,13 +894,14 @@ 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
.
-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
@@ -1194,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 .
.
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);