From 40ed7c78b3c99ba14d17fdf2aad572bddadbf94d Mon Sep 17 00:00:00 2001 From: das Date: Fri, 10 Apr 2009 16:20:11 +0000 Subject: * generic/tkPointer.c (Tk_UpdatePointer): use all 5 buttons. --- ChangeLog | 2 ++ generic/tkPointer.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d912394..237c7e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2008-04-10 Daniel Steffen + * generic/tkPointer.c (Tk_UpdatePointer): use all 5 buttons. + * generic/tkMenu.c (PostProcessEntry): delay call to TkpConfigureMenuEntry() until all menu entry attributes are setup. diff --git a/generic/tkPointer.c b/generic/tkPointer.c index 02203ae..5ade755 100644 --- a/generic/tkPointer.c +++ b/generic/tkPointer.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkPointer.c,v 1.10.4.1 2008/06/12 17:09:11 das Exp $ + * RCS: @(#) $Id: tkPointer.c,v 1.10.4.2 2009/04/10 16:20:11 das Exp $ */ #include "tkInt.h" @@ -268,7 +268,7 @@ Tk_UpdatePointer( * between the current button state and the last known button state. */ - for (b = Button1; b <= Button3; b++) { + for (b = Button1; b <= Button5; b++) { mask = ButtonMask(b); if (changes & mask) { if (state & mask) { -- cgit v0.12