mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
Bug 904204 - Bug fix for send mouse move to clear hover from the apzc landings. r=bbondy
This commit is contained in:
parent
52240c6f55
commit
7049b32181
@ -980,13 +980,9 @@ MetroInput::HandleSingleTap(const LayoutDeviceIntPoint& aPoint)
|
||||
POINT point;
|
||||
if (GetCursorPos(&point)) {
|
||||
ScreenToClient((HWND)mWidget->GetNativeData(NS_NATIVE_WINDOW), &point);
|
||||
Foundation::Point oldMousePosition;
|
||||
oldMousePosition.X = static_cast<FLOAT>(point.x);
|
||||
oldMousePosition.Y = static_cast<FLOAT>(point.y);
|
||||
mouseEvent.refPoint = aPoint;
|
||||
mouseEvent.refPoint = LayoutDeviceIntPoint(point.x, point.y);
|
||||
mouseEvent.message = NS_MOUSE_MOVE;
|
||||
mouseEvent.button = 0;
|
||||
|
||||
DispatchEventIgnoreStatus(&mouseEvent);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user