Bug #140767. Menus don't open when hovered while another menu is open. Don't drop motion events when there's a rollup listener and the event isn't over a popup window. r=rjesup,sr=shaver

This commit is contained in:
blizzard%redhat.com 2002-05-10 01:53:13 +00:00
parent 148d6c759a
commit 3d02613dbb

View File

@ -1530,12 +1530,6 @@ void nsWindow::HandleMozAreaFocusOut(void)
/* virtual */ void
nsWindow::OnMotionNotifySignal(GdkEventMotion *aGdkMotionEvent)
{
// If there's a rollup widget and this window is not a popup window,
// drop the event.
if (gRollupWidget && GetOwningWindowType() != eWindowType_popup) {
return;
}
XEvent xevent;
GdkEvent gdk_event;
PRBool synthEvent = PR_FALSE;