From d4b7c51b76414905f5c447eb9e2c1f327e72c2a1 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Mon, 11 Nov 2002 15:33:28 +0000 Subject: [w3m-dev 03408] fix Bug#87472: MOUSE_SCROLL_LINE should be a run-time option * fm.h (relative_wheel_scroll): added (fixed_wheel_scroll_count): added (relative_wheel_scroll_ratio): added * main.c (mouse_scroll_line): added (process_mouse): s/MOUSE_SCROLL_LINE/mouse_scroll_line()/ * menu.c (MOUSE_SCROLL_LINE): deleted * terms.h (MOUSE_SCROLL_LINE): deleted * rc.c (CMT_RELATIVE_WHEEL_SCROLL): added (CMT_RELATIVE_WHEEL_SCROLL_RATIO): added (CMT_FIXED_WHEEL_SCROLL_COUNT): added (wheelmode): added (params3): add relative_wheel_scroll, relative_wheel_scroll_ratio, fixed_wheel_scroll_count From: AIDA Shinra --- menu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'menu.c') diff --git a/menu.c b/menu.c index b3c3a97..fb1c414 100644 --- a/menu.c +++ b/menu.c @@ -1,4 +1,4 @@ -/* $Id: menu.c,v 1.16 2002/11/05 17:10:07 ukai Exp $ */ +/* $Id: menu.c,v 1.17 2002/11/11 15:33:38 ukai Exp $ */ /* * w3m menu.c */ @@ -1085,7 +1085,6 @@ mSrchP(char c) #define MOUSE_BTN5_DOWN_XTERM 65 #define MOUSE_BTN_UP 3 #define MOUSE_BTN_RESET -1 -#define MOUSE_SCROLL_LINE 5 static int process_mMouse(int btn, int x, int y) -- cgit v1.2.3