aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 4771cd9..96cf10e 100644
--- a/main.c
+++ b/main.c
@@ -235,6 +235,9 @@ void on_keypress(XEvent *ev) {
case XK_a:
changed = img_toggle_antialias(&img);
break;
+ case XK_r:
+ changed = img_load(&img, filenames[fileidx]);
+ break;
}
if (changed) {