diff --git a/TODO b/TODO index 4e80c9ed00af87ae4358cf0108283589bf18ce72..234215223af7483c9ce032ec4f5fc1a2114d6fbc 100644 --- a/TODO +++ b/TODO @@ -15,3 +15,6 @@ then resizing the window) causing imlib2 warnings. --fmmode is neither documented nor implemented. Either implement or remove it. + + antialieses the image, but doing that automatically upon +key release would be better. diff --git a/feh.1 b/feh.1 index e5a82c2750ba538cc1811badd9825d613c38fd40..be38c1eef860e215613c0e56673a9e74bb351c29 100644 --- a/feh.1 +++ b/feh.1 @@ -562,6 +562,15 @@ Quit feh Move the image to the left .B Move the image to the right +.B +Move the image up +.B +Move the image down +.B +Antialias the image. +When controlling feh with the mouse, this is done by default as soon as the +respective mouse button is released; in keypad mode, you need to press this +button. .B Zoom in .B diff --git a/src/keyevents.c b/src/keyevents.c index 376a33a47bc7435c63f1529b55c65b9824891238..af7e173511f90eb1bfc9c32cdaee16478370516d 100644 --- a/src/keyevents.c +++ b/src/keyevents.c @@ -304,15 +304,18 @@ feh_event_handle_keypress(XEvent * ev) case XK_KP_Subtract: winwid->zoom = winwid->zoom * 0.75; winwidget_render_image(winwid, 0, 0); - break; + break; case XK_KP_Multiply: winwid->zoom = 1; winwidget_render_image(winwid, 0, 0); - break; + break; case XK_KP_Divide: feh_calc_needed_zoom(&winwid->zoom, winwid->im_w, winwid->im_h, winwid->w, winwid->h); winwidget_render_image(winwid, 0, 0); - break; + break; + case XK_KP_Begin: + winwidget_render_image(winwid, 0, 1); + break; default: break; } diff --git a/src/options.c b/src/options.c index 44fa3bf3d5f66e8adf3c7809142f1003929e9481..9fb50ffd6ed0964eb2acd021c760f1495dbfcd8e 100644 --- a/src/options.c +++ b/src/options.c @@ -1123,6 +1123,9 @@ show_usage(void) " q, Q Quit the slideshow\n" " Move the image to the left\n" " Move the image to the right\n" +" Move the image up\n" +" Move the image down\n" +" Antialias the image\n" " Zoom in\n" " Zoom out\n" " Zoom to 100%%\n"