From ef6e97be1fe5a67718983ed5c5c42b763ad62db7 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Thu, 24 Jan 2002 17:46:50 +0000 Subject: [w3m-dev 02902] mouse inactive after ALARM commands. * main.c (SigAlarm): mouse_inactive() and mouse_active() From: Hironori Sakamoto --- main.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 8447fdd..1d65b15 100644 --- a/main.c +++ b/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.71 2002/01/24 17:29:45 ukai Exp $ */ +/* $Id: main.c,v 1.72 2002/01/24 17:46:50 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include @@ -4835,9 +4835,17 @@ SigAlarm(SIGNAL_ARG) CurrentKeyData = (char *)alarm_event.user_data; #ifdef USE_MENU CurrentMenuData = NULL; +#endif +#ifdef USE_MOUSE + if (use_mouse) + mouse_inactive(); #endif w3mFuncList[alarm_event.cmd].func(); onA(); +#ifdef USE_MOUSE + if (use_mouse) + mouse_active(); +#endif if (alarm_status == AL_IMPLICIT) { alarm_buffer = Currentbuf; alarm_status = AL_IMPLICIT_DONE; -- cgit v1.2.3