commit 2907701cc426e1146aba4e3e25444bab5fc3bdfe
parent f90abbabd22c50e7a728a7995b7bd5db7ff4e9bc
Author: ukai <ukai>
Date: Thu, 24 Jan 2002 17:46:50 +0000
[w3m-dev 02902] mouse inactive after ALARM commands.
* main.c (SigAlarm): mouse_inactive() and mouse_active()
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat:
2 files changed, 13 insertions(+), 0 deletions(-)
diff --git 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
diff --git a/main.c b/main.c
@@ -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;