mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 426643 - (Mac) Remove safety check before bringing up context menu. r=smichaud
This commit is contained in:
parent
153ae08f6b
commit
01796a73e7
@ -3628,12 +3628,12 @@ NSEvent* gLastDragMouseDownEvent = nil;
|
||||
geckoEvent.pluginEvent = &cocoaEvent;
|
||||
}
|
||||
|
||||
PRBool handled = mGeckoChild->DispatchWindowEvent(geckoEvent);
|
||||
mGeckoChild->DispatchWindowEvent(geckoEvent);
|
||||
if (!mGeckoChild)
|
||||
return;
|
||||
|
||||
if (!handled)
|
||||
[super rightMouseDown:theEvent]; // let the superview do context menu stuff
|
||||
// Let the superclass do the context menu stuff.
|
||||
[super rightMouseDown:theEvent];
|
||||
|
||||
NS_OBJC_END_TRY_ABORT_BLOCK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user