Added code to pass handle keyevents in modal windows

git-svn-id: svn://10.0.0.236/trunk@26401 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
davidm%netscape.com
1999-04-06 01:41:02 +00:00
parent 6015b87239
commit aa8d0c70b5

View File

@@ -243,7 +243,12 @@ nsIWidget *aWidget,
where == inGoAway || where == inZoomIn || where == inZoomOut ))
*aForWindow = PR_TRUE;
break;
case keyDown:
case keyUp:
case autoKey:
if ( window == eventWindow )
*aForWindow = PR_TRUE;
break;
case updateEvt:
// always let update events through, because if we don't handle them, we're
// doomed!