mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-23 21:17:52 +00:00
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:
parent
148d6c759a
commit
3d02613dbb
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user