diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-05-10 11:53:45 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-05-10 11:54:37 +0200 |
commit | 346459a1bed5ca7d30a568746591c1849c04daf8 (patch) | |
tree | b2fdbf2a9d0df2c44ebfe7a560b2900e488a6420 /src | |
parent | 6f08fd4510dd426322af28b3bf982bb44f218465 (diff) |
keyevents.c: Make toggle_aliasing actually affect the current window
Diffstat (limited to 'src')
-rw-r--r-- | src/keyevents.c | 3 |
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; |