--- np2/macos9/np2.cpp 2003/11/13 07:47:17 1.14 +++ np2/macos9/np2.cpp 2003/11/13 20:14:31 1.15 @@ -572,6 +572,10 @@ static void eventproc(EventRecord *event mousemng_buttonevent(MOUSEMNG_LEFTUP); mousemng_buttonevent(MOUSEMNG_RIGHTUP); break; + + case activateEvt: + mackbd_activate((event->modifiers & activeFlag)?TRUE:FALSE); + break; } } @@ -723,6 +727,8 @@ int main(int argc, char *argv[]) { flagload(np2resume); } + SetScriptManagerVariable(smKeyDisableState, 1); + SetEventMask(everyEvent); np2running = TRUE;