Re: [dev] [surf] add x-finger back and forward control

From: Kurt Van Dijck <kurt.van.dijck_AT_eia.be>
Date: Sun, 21 Apr 2013 20:36:35 +0200

On Sun, Apr 21, 2013 at 02:06:50PM +0200, Christoph Lohmann wrote:
> Greetings.
>
> On Sun, 21 Apr 2013 14:06:50 +0200 Kurt Van Dijck <kurt.van.dijck_AT_eia.be> wrote:
> > commit 33a5ecfae080395d679147eb22ca23f292ac4c38
> > Author: Kurt Van Dijck <kurt_AT_vandijck-laurijssen.be>
> > Date: Sun Apr 21 13:46:25 2013
> >
> > add 3-finger back and forward control
> >
> > This patch will make surf 'go back' when
> > 3 fingers are swiped to the right, and
> > 'go forward' when 3 fingers are swiped to the left,
> > as if you moved the web page physically.
> > This behaviour is copied from the Safari web browser.
> > Basic web surfing is then controlled by 1 hand only.
>
> This patch is really static and forces this three finger behaviour.
> Naming it »swipe« and having some swipe behaviour array in the
> config.h would be more suckless style than enforcing this in the
> routine in surf.c. Could you consider making this more modular?
Yes, I can do that.

Note that you would never be able to intercept the 2-finger gestures,
as they're hardcoded to scroll in GTK or WebKit.

Kind regards,
Kurt
Received on Sun Apr 21 2013 - 20:36:35 CEST

This archive was generated by hypermail 2.3.0 : Sun Apr 21 2013 - 20:48:04 CEST