From 1248fa2911c932a71c0c70d0cc5b512df723acf2 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Thu, 21 Nov 2002 16:31:35 +0000 Subject: [w3m-dev 03455] mouse menu * configure (config.h): MOUSE_FILE * display.c (displayBuffer): nTab -> nTab2, N_TAB -> nTabLine() (redrawNLine): nTab -> nTab2, N_TAB -> nTabLine() mouse_menu support * fm.h (nTab2): added (N_TAB): deleted (NO_TABBUFFER): added (struct _MouseMenu): added (mouse_menu_map): added (mouse_menu): added * func.c (initMouseMenu): added * main.c (main): initMouseMenu() (posTab): mouse_menu support (mouse_menu_action): added (process_mouse): mouse_menu support (reinit): initMouseMenu() (nTabLine): added (moveTab): check NO_TABBUFFER * proto.h (nTabLine): added (initMouseMenu): added * rc.c (sync_with_option): initMouseMenu() From: Hironori SAKAMOTO --- rc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'rc.c') diff --git a/rc.c b/rc.c index 0aeb428..47f79dd 100644 --- a/rc.c +++ b/rc.c @@ -1,4 +1,4 @@ -/* $Id: rc.c,v 1.65 2002/11/19 17:40:34 ukai Exp $ */ +/* $Id: rc.c,v 1.66 2002/11/21 16:31:36 ukai Exp $ */ /* * Initialization file etc. */ @@ -1322,6 +1322,9 @@ sync_with_option(void) AcceptMedia = acceptableMimeTypes(); if (fmInitialized) { initKeymap(FALSE); +#ifdef USE_MOUSE + initMouseMenu(); +#endif /* MOUSE */ #ifdef USE_MENU initMenu(); #endif /* MENU */ -- cgit v1.2.3