[webkit-gtk] Opening default context menu on mouse release

Michael Catanzaro mcatanzaro at igalia.com
Wed May 17 05:37:25 PDT 2017


On Wed, May 17, 2017 at 2:03 AM, Carlos Garcia Campos 
<cgarcia at igalia.com> wrote:
> Yes, it does. You can connect to context-menu signal, take a reference
> of the given WebKitContextMenu, and return TRUE to ensure WebKit
> doesn't show it. Then you can start your timer and then check 
> threshold
> (you could use the gtk dnd threshold, for example, with
> gtk_drag_check_threshold). If not a gesture you can use the
> WebKitContextMenu to build a gtk popup menu.

Now who wants to implement this in Epiphany? :D Mouse gestures is 
probably the #1 thing I miss from Firefox.

They would have to be disabled by default.

Michael



More information about the webkit-gtk mailing list