<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
</head>
<body><div>It looks like the context menu is controlled by the hidden int32 pref with a default of 500 (milliseconds?), "ui.click_hold_context_menus.delay", as defined at <a href="https://searchfox.org/mozilla-central/rev/056a4057575029f58eb69ae89bc7b6c3c11e2e28/gfx/thebes/gfxPrefs.h#732">https://searchfox.org/mozilla-central/rev/056a4057575029f58eb69ae89bc7b6c3c11e2e28/gfx/thebes/gfxPrefs.h#732</a><br></div>
<div><br></div>
<div>Hope that helps,<br></div>
<div>Andrew<br></div>
<div><br></div>
<div>On Sun, Feb 25, 2018, at 4:05 AM, Fadi R wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div><div>Hi, <br></div>
</div>
<div><div>I've been building FF 59b from source and enabling Wayland. It's got some bugs but man, I'm really loving it, especially the touch support which is way more stable under native wayland than when I was testing it when it was running native X. <br></div>
</div>
<div><div>The touch support is almost perfect but still has a very important flaw that I was hoping to fix by tweaking the source code: the text selection caret and right-click menu are mapped to the same gesture: longpress. <br></div>
</div>
<div><div>It's problematic because when you want to select text, a menu pops up blocking the caret. I think this should be easy enough to resolve by tweaking how long you have to long press to make the menu popup and make it a second or two longer than the caret. I've been trying to find it in the source code but I'm really not familiar with it and haven't been able to find it yet. I was wondering if someone can point me in the right direction?<br></div>
</div>
</div>
<div><u>_______________________________________________</u><br></div>
<div>firefox-dev mailing list<br></div>
<div><a href="mailto:firefox-dev@mozilla.org">firefox-dev@mozilla.org</a><br></div>
<div><a href="https://mail.mozilla.org/listinfo/firefox-dev">https://mail.mozilla.org/listinfo/firefox-dev</a><br></div>
</blockquote><div><br></div>
</body>
</html>