зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
5defe33acf
Коммит
f970cc07b0
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче