summaryrefslogtreecommitdiff
path: root/src/keyevents.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyevents.c')
-rw-r--r--src/keyevents.c3
1 files changed, 2 insertions, 1 deletions
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;