mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 917702 - Unexpected Mouse Coordinate Return when MouseEnter or MouseExit Event Fired. r=spohl
This commit is contained in:
parent
0886bc35ee
commit
97c142783e
@ -6158,10 +6158,12 @@ ChildViewMouseTracker::AttachPluginEvent(nsMouseEvent_base& aMouseEvent,
|
||||
// ("fix 0.3") of the patch for bug 435041 ("Implement Cocoa NPAPI event
|
||||
// model for Mac OS X"). But there's no trace of it in the WebKit code that
|
||||
// was used as a model for much of that patch.
|
||||
#if (0)
|
||||
if (type == NPCocoaEventMouseEntered ||
|
||||
type == NPCocoaEventMouseExited) {
|
||||
point.x = point.y = 5;
|
||||
}
|
||||
#endif
|
||||
NSUInteger clickCount = 0;
|
||||
if (type != NPCocoaEventMouseEntered &&
|
||||
type != NPCocoaEventMouseExited &&
|
||||
|
Loading…
Reference in New Issue
Block a user