Re: [patch] Add 2nd scrollwheel scrolling



I think it is probably too late to add this sort of patch to 1.2.x -
we're really only accepting bug fixes at this point for the stable
branch, but it should be very clean to do in the HEAD branch of GTK+.

In that branch, scrolling is translated into a separate event type,
which includes a value of the enumeration:

typedef enum
{
  GDK_SCROLL_UP,
  GDK_SCROLL_DOWN,
  GDK_SCROLL_LEFT,
  GDK_SCROLL_RIGHT
} GdkScrollDirection;

I don't know if all places that handle GDK_EVENT_SCROLL currently
handle all four directions. If so, doing the equivalent of your patch
should be about 2 lines.

Regards,
                                        Owen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]