aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--main.c10
2 files changed, 15 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4914cbd..ee859f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2002-01-25 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
+ * [w3m-dev 02902] mouse inactive after calling some command with ALARM.
+ * main.c (SigAlarm): mouse_inactive() and mouse_active()
+
+2002-01-25 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
+
* [w3m-dev 02901] Default URL for GOTO*
* fm.h (DEFAULT_URL_*): added
* fm.h (DefaultURLString): added
@@ -2276,4 +2281,4 @@
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.258 2002/01/24 17:29:45 ukai Exp $
+$Id: ChangeLog,v 1.259 2002/01/24 17:46:50 ukai Exp $
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 <signal.h>
@@ -4836,8 +4836,16 @@ SigAlarm(SIGNAL_ARG)
#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;