diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-24 17:46:50 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-24 17:46:50 +0000 |
commit | ef6e97be1fe5a67718983ed5c5c42b763ad62db7 (patch) | |
tree | 539fd637fb3a83af10b9930e4d01ffbe1eb4c17c /main.c | |
parent | [w3m-dev 02901] Default URL for GOTO* (diff) | |
download | w3m-ef6e97be1fe5a67718983ed5c5c42b763ad62db7.tar.gz w3m-ef6e97be1fe5a67718983ed5c5c42b763ad62db7.zip |
[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 (limited to '')
-rw-r--r-- | main.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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; |