Re: Implementing smooth scrolling in an X client

2012-06-13 Thread Peter Hutterer
On Wed, Jun 13, 2012 at 12:15:35PM -0700, Paul Vojta wrote: > On Tue, Jun 12, 2012 at 11:25:08AM +1000, Peter Hutterer wrote: > > On Mon, Jun 04, 2012 at 06:50:47PM -0400, Paul Vojta wrote: > > [snip] > > > > So I would need to keep track of EnterNotify events for each window for > > > which I'm

Re: Implementing smooth scrolling in an X client

2012-06-13 Thread Paul Vojta
On Tue, Jun 12, 2012 at 11:25:08AM +1000, Peter Hutterer wrote: > On Mon, Jun 04, 2012 at 06:50:47PM -0400, Paul Vojta wrote: [snip] > > So I would need to keep track of EnterNotify events for each window for > > which I'm doing smooth scrolling, and set a flag each time such an event > > is rece

Re: Implementing smooth scrolling in an X client

2012-06-11 Thread Peter Hutterer
On Mon, Jun 04, 2012 at 06:50:47PM -0400, Paul Vojta wrote: > Folks: > > I've started working on implementing smooth scrolling in xdvi, and I have a > question about it. > > When I do > > xinput --test 9 > > (where 9 is the deviceid of my Synaptics touchpad) and stroke my finger > down th

Implementing smooth scrolling in an X client

2012-06-04 Thread Paul Vojta
Folks: I've started working on implementing smooth scrolling in xdvi, and I have a question about it. When I do xinput --test 9 (where 9 is the deviceid of my Synaptics touchpad) and stroke my finger down the right-hand side of the touchpad, I get an increasing sequence of numbers: mot