And because I'm really married to the idea of this going into the
main branch of surf, here's a diff that does the same thing, but
doesn't make Arg a struct, if it should happen to please Tox.
> From: Alex Puterbaugh <puterbaugh0_AT_gmail.com>
> To: suckless dev <dev_AT_suckless.org>
> Date: Sat, 21 Aug 2010 14:32:17 -0400
> Subject: [dev] [surf] Shortcuts for horizontal scrolling
>
> Hey all,
>
> I've made a small patch that allows you to bind keys for
> horizontal scrolling.
>
> This approach (which imho is the least of many evils) requires
> the Arg union to be a struct, to allow the scroll() function
> to use both .b and .i as arguments.
>
> I think that horizontal scrolling via the keyboard is far from an
> "edge" use case for a web browser that already depends so heavily on
> the keyboard, so I propose that this patch be included in the
> next version of surf.
This archive was generated by hypermail 2.2.0 : Sun Aug 22 2010 - 18:36:02 CEST