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.di...@eia.be> > wrote: > > commit 33a5ecfae080395d679147eb22ca23f292ac4c38 > > Author: Kurt Van Dijck <k...@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