-
Notifications
You must be signed in to change notification settings - Fork 169
Open
Description
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;ulteq, jamesxmcintosh, uniquestring, brewerja, hyperupcall and 3 moreulteq and daja93
Metadata
Metadata
Assignees
Labels
No labels