Commit 0135813d authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Add <keypad begin> to antialias the image (other keypad keys don't do this)

parent ff030be3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -15,3 +15,6 @@ then resizing the window) causing imlib2 warnings.

--fmmode is neither documented nor implemented. Either implement or
remove it.

<keypad begin> antialieses the image, but doing that automatically upon
key release would be better.
+9 −0
Original line number Diff line number Diff line
@@ -562,6 +562,15 @@ Quit feh
Move the image to the left
.B <KEYPAD RIGHT>
Move the image to the right
.B <KEYPAD UP>
Move the image up
.B <KEYPAD DOWN>
Move the image down
.B <KEYPAD BEGIN>
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 <KEYPAD +>
Zoom in
.B <KEYPAD ->
+6 −3
Original line number Diff line number Diff line
@@ -313,6 +313,9 @@ feh_event_handle_keypress(XEvent * ev)
        feh_calc_needed_zoom(&winwid->zoom, winwid->im_w, winwid->im_h, winwid->w, winwid->h);
        winwidget_render_image(winwid, 0, 0);
        break;
     case XK_KP_Begin:
        winwidget_render_image(winwid, 0, 1);
        break;
     default:
        break;
   }
+3 −0
Original line number Diff line number Diff line
@@ -1123,6 +1123,9 @@ show_usage(void)
" q, Q                       Quit the slideshow\n"
" <KEYPAD LEFT>              Move the image to the left\n"
" <KEYPAD RIGHT>             Move the image to the right\n"
" <KEYPAD UP>                Move the image up\n"
" <KEYPAD DOWN>              Move the image down\n"
" <KEYPAD BEGIN>             Antialias the image\n"
" <KEYPAD +>                 Zoom in\n"
" <KEYPAD ->                 Zoom out\n"
" <KEYPAD *>                 Zoom to 100%%\n"