<div dir="ltr"><div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It looks like the context menu is controlled by the hidden int32 pref<br>with a default of 500 (milliseconds?),<br>"ui.click_hold_context_menus.delay", as defined at<br><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>Hope that helps,<br>Andrew<br><br>On Sun, Feb 25, 2018, at 4:05 AM, Fadi R wrote:<br>> Hi, <br>> I've been building FF 59b from source and enabling Wayland. It's got<br>> some bugs but man, I'm really loving it, especially the touch support<br>> which is way more stable under native wayland than when I was testing<br>> it when it was running native X.> The touch support is almost perfect but still has a very important<br>> flaw that I was hoping to fix by tweaking the source code: the text<br>> selection caret and right-click menu are mapped to the same gesture:<br>> longpress.> It's problematic because when you want to select text, a menu pops up<br>> blocking the caret. I think this should be easy enough to resolve by<br>> tweaking how long you have to long press to make the menu popup and<br>> make it a second or two longer than the caret. I've been trying to<br>> find it in the source code but I'm really not familiar with it and<br>> haven't been able to find it yet. I was wondering if someone can point<br>> me in the right direction?> _________________________________________________<br>> firefox-dev mailing list<br>> firefox-dev at <a href="http://mozilla.org">mozilla.org</a><br>> <a href="https://mail.mozilla.org/listinfo/firefox-dev">https://mail.mozilla.org/listinfo/firefox-dev</a><br></blockquote><br><br>Hi Andrew,<br><br></div>Thanks alot, that's perfect!<br><br></div>Fadi<br></div>