diff options
author | Bert <ber.t@gmx.com> | 2011-01-31 16:06:40 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-01-31 16:06:40 +0100 |
commit | 5a682426b128fd33bd76f466831a9a36e80e1c2c (patch) | |
tree | eb3a95a2b35427ec605c2773a0d374a089cea269 /main.c | |
parent | b1ce42edf5fd61239e8a774eea96fbe3300b3cf3 (diff) |
New key command: r, reload image
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) { |