Sorry for letting this get lost in our massive backlog, but it seemed to work
well a quick test with xmore so I've pushed it to git master now:

To ssh://git.freedesktop.org/git/xorg/lib/libXaw
   5a39226..2f298ec  master -> master

Thanks for the patch!

On 01/19/11 12:20 PM, Roberto Branciforti wrote:
> Add default translations to handle mouse wheel events for moving the
> scrollbar.
> 
> Signed-off-by: Roberto Branciforti <rbb...@gmail.com>
> ---
>  src/Scrollbar.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/src/Scrollbar.c b/src/Scrollbar.c
> index 894a945..5e4fdcf 100644
> --- a/src/Scrollbar.c
> +++ b/src/Scrollbar.c
> @@ -102,6 +102,8 @@ static char defaultTranslations[] =
>  "<Btn1Down>:"        "StartScroll(Forward)\n"
>  "<Btn2Down>:"        "StartScroll(Continuous) MoveThumb() NotifyThumb()\n"
>  "<Btn3Down>:"        "StartScroll(Backward)\n"
> +"<Btn4Down>:"        "StartScroll(Backward)\n"
> +"<Btn5Down>:"        "StartScroll(Forward)\n"
>  "<Btn2Motion>:"      "MoveThumb() NotifyThumb()\n"
>  "<BtnUp>:"   "NotifyScroll(Proportional) EndScroll()\n";
>  
> 


-- 
        -Alan Coopersmith-               alan.coopersm...@oracle.com
         Oracle Solaris Engineering - https://blogs.oracle.com/alanc
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to