On Wed, Nov 16, 2005 at 03:47:01PM +0100, Jean-Marc Lasgouttes wrote:
> >>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes:
> 
> Martin> Because now we have _zones_ at the upper/lower edge of the
> Martin> screen, where only synthetic mouse events are taken. These are
> Martin> the areas where genuine (non-synthetic) mouse events will be
> Martin> triggered if the mouse cursor goes there, triggering erratic
> Martin> scrolls. This is now disabled.
> 
> Where are these zones defined?
> 
> JMarc
>  
Here:

    204         // If we're above or below the work area...
    205         if (e->y() <= 20 || e->y() >= height() - 20) {
    206                 // Make sure only a synthetic event can cause a page 
scroll,
    207                 // so they come at a steady rate:
    208                 if (e->y() <= 20)
    209                         // _Force_ a scroll up:
    210                         cmd.y = -40;
    211                 else
    212                         cmd.y = height();

They are from y=0 to y=20 and y=height()-20 to y=height().

- Martin


Attachment: pgphDLl23Zal3.pgp
Description: PGP signature

Reply via email to