You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I really like feh. But one thing that bugs me is the click-to-advance-or-pan feature. I would like it to always pan, never advance, but I could not find a way to configure it. I've been patching it to do so. An option to accomplish this would be greatly appreciated.
diff --git a/src/events.c b/src/events.c
index 89eaab8..41984a0 100644
--- a/src/events.c+++ b/src/events.c@@ -218,9 +218,9 @@ static void feh_event_handle_ButtonPress(XEvent * ev)
D(("blur starting at %d, %d\n", ev->xbutton.x, ev->xbutton.y));
} else if (feh_is_bb(EVENT_pan, button, state)) {
- D(("Next button, but could be pan mode\n"));- opt.mode = MODE_NEXT;- winwid->mode = MODE_NEXT;+ D(("Next button patched out; going into pan mode\n"));+ opt.mode = MODE_PAN;+ winwid->mode = MODE_PAN;
D(("click offset is %d,%d\n", ev->xbutton.x, ev->xbutton.y));
winwid->click_offset_x = ev->xbutton.x - winwid->im_x;
winwid->click_offset_y = ev->xbutton.y - winwid->im_y;
The text was updated successfully, but these errors were encountered:
Hi, I really like feh. But one thing that bugs me is the click-to-advance-or-pan feature. I would like it to always pan, never advance, but I could not find a way to configure it. I've been patching it to do so. An option to accomplish this would be greatly appreciated.
The text was updated successfully, but these errors were encountered: