mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 09:30:44 +00:00
remove code hyatt put in a long time ago that sets the mouse coordinates
to 0,0 for scrollwheel events. Now uses the actual coordinate (r=pink, sr=bryner, bug 256538)
This commit is contained in:
parent
5eb2df45d5
commit
0f89e777e9
@ -2782,10 +2782,6 @@ const PRInt32 kNumLines = 4;
|
||||
outGeckoEvent->refPoint.x = outGeckoEvent->point.x = NS_STATIC_CAST(nscoord, localPoint.x);
|
||||
outGeckoEvent->refPoint.y = outGeckoEvent->point.y = NS_STATIC_CAST(nscoord, localPoint.y);
|
||||
|
||||
if (outGeckoEvent->message == NS_MOUSE_SCROLL) {
|
||||
outGeckoEvent->refPoint.x = outGeckoEvent->refPoint.y = 0;
|
||||
outGeckoEvent->point.x = outGeckoEvent->point.y = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// set up modifier keys
|
||||
|
Loading…
x
Reference in New Issue
Block a user