diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -219,6 +219,14 @@ void on_keypress(XEvent *ev) { changed = img_pan(&img, &win, PAN_RIGHT); break; + /* rotation */ + case '<': + changed = img_rotate_left(&img, &win); + break; + case '>': + changed = img_rotate_right(&img, &win); + break; + /* Control window */ case 'f': win_toggle_fullscreen(&win); |