Loading ChangeLog +1 −0 Original line number Diff line number Diff line git HEAD * Patch by aaptel: Support numpad keys for actions * Fix blur mode (Ctrl + left mouse key) Thu May 6 08:34:39 CEST 2010 Daniel Friesel <derf@chaosdorf.de> Loading src/events.c +7 −2 Original line number Diff line number Diff line Loading @@ -166,7 +166,7 @@ static void feh_event_handle_ButtonPress(XEvent * ev) && (winwid->type == WIN_TYPE_SLIDESHOW)) slideshow_change_image(winwid, SLIDE_PREV); } else if (ev->xbutton.button == opt.next_button) { D(3, ("Next Button 5 Press event\n")); D(3, ("Next Button Press event\n")); if ((winwid != NULL) && (winwid->type == WIN_TYPE_SLIDESHOW)) slideshow_change_image(winwid, SLIDE_NEXT); Loading Loading @@ -220,7 +220,7 @@ static void feh_event_handle_ButtonRelease(XEvent * ev) winwidget_sanitise_offsets(winwid); winwidget_render_image(winwid, 0, 1); } } else { } else if (opt.mode == MODE_NEXT) { opt.mode = MODE_NORMAL; if (winwid != NULL) winwid->mode = MODE_NORMAL; Loading Loading @@ -260,6 +260,11 @@ static void feh_event_handle_ButtonRelease(XEvent * ev) } } } } else { if (winwid != NULL) { opt.mode = MODE_NORMAL; winwid->mode = MODE_NORMAL; } } } else if ((ev->xbutton.button == opt.rotate_button) || (ev->xbutton.button == opt.zoom_button)) { Loading Loading
ChangeLog +1 −0 Original line number Diff line number Diff line git HEAD * Patch by aaptel: Support numpad keys for actions * Fix blur mode (Ctrl + left mouse key) Thu May 6 08:34:39 CEST 2010 Daniel Friesel <derf@chaosdorf.de> Loading
src/events.c +7 −2 Original line number Diff line number Diff line Loading @@ -166,7 +166,7 @@ static void feh_event_handle_ButtonPress(XEvent * ev) && (winwid->type == WIN_TYPE_SLIDESHOW)) slideshow_change_image(winwid, SLIDE_PREV); } else if (ev->xbutton.button == opt.next_button) { D(3, ("Next Button 5 Press event\n")); D(3, ("Next Button Press event\n")); if ((winwid != NULL) && (winwid->type == WIN_TYPE_SLIDESHOW)) slideshow_change_image(winwid, SLIDE_NEXT); Loading Loading @@ -220,7 +220,7 @@ static void feh_event_handle_ButtonRelease(XEvent * ev) winwidget_sanitise_offsets(winwid); winwidget_render_image(winwid, 0, 1); } } else { } else if (opt.mode == MODE_NEXT) { opt.mode = MODE_NORMAL; if (winwid != NULL) winwid->mode = MODE_NORMAL; Loading Loading @@ -260,6 +260,11 @@ static void feh_event_handle_ButtonRelease(XEvent * ev) } } } } else { if (winwid != NULL) { opt.mode = MODE_NORMAL; winwid->mode = MODE_NORMAL; } } } else if ((ev->xbutton.button == opt.rotate_button) || (ev->xbutton.button == opt.zoom_button)) { Loading