[w3m-dev 02902] mouse inactive after ALARM commands.

* main.c (SigAlarm): mouse_inactive() and mouse_active()
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2002-01-24 17:46:50 +00:00
parent d7b44415da
commit ef6e97be1f
2 changed files with 15 additions and 2 deletions
+6 -1
View File
@@ -1,3 +1,8 @@
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*
@@ -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 $
+9 -1
View File
@@ -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>
@@ -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;