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
Родитель 5defe33acf
Коммит f970cc07b0
1 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -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;