mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Merge m-c to inbound.
This commit is contained in:
commit
13be984b0d
@ -2680,7 +2680,9 @@ nsFrame::HandlePress(nsPresContext* aPresContext,
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
// On touchables devices, touch the screen is usually a pan action,
|
||||
// so let reposition the caret if needed but do not select text
|
||||
// so let's reposition the caret if needed but do not select text
|
||||
// if the touch did not happen over an editable element. Otherwise,
|
||||
// let the user move the caret by tapping and dragging.
|
||||
if (!offsets.content->IsEditable() &&
|
||||
Preferences::GetBool("browser.ignoreNativeFrameTextSelection", false)) {
|
||||
return fc->HandleClick(offsets.content, offsets.StartOffset(),
|
||||
|
Loading…
Reference in New Issue
Block a user