summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--src/keyevents.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bf53504..249e349 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -27,6 +27,8 @@ git HEAD
option is now always checked when these options are used
* Set _NET_WM_NAME and _NET_WM_ICON_NAME properties
<http://github.com/derf/feh/issues/44>
+ * The 'A' key (toggle_aliasing) now actually changes the current window,
+ and not just the default for new windows
Sat, 23 Apr 2011 22:00:27 +0200 Daniel Friesel <derf@finalrewind.org>
diff --git a/src/keyevents.c b/src/keyevents.c
index 381be50..9d5af5a 100644
--- a/src/keyevents.c
+++ b/src/keyevents.c
@@ -552,7 +552,8 @@ void feh_event_handle_keypress(XEvent * ev)
}
else if (feh_is_kp(&keys.toggle_aliasing, keysym, state)) {
opt.force_aliasing = !opt.force_aliasing;
- winwidget_rerender_all(0);
+ winwid->force_aliasing = !winwid->force_aliasing;
+ winwidget_render_image(winwid, 0, 0);
}
else if (feh_is_kp(&keys.toggle_filenames, keysym, state)) {
opt.draw_filename = !opt.draw_filename;