mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 772422 - Ignore touch events when selecting text. r=smaug
This commit is contained in:
parent
75923210ac
commit
43a8729734
@ -2475,6 +2475,11 @@ nsFrame::HandlePress(nsPresContext* aPresContext,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_ENSURE_ARG_POINTER(aEvent);
|
||||
if (aEvent->eventStructType == NS_TOUCH_EVENT) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
//We often get out of sync state issues with mousedown events that
|
||||
//get interrupted by alerts/dialogs.
|
||||
//Check with the ESM to see if we should process this one
|
||||
|
Loading…
Reference in New Issue
Block a user