summaryrefslogtreecommitdiffstats
path: root/generic/tkPointer.c
diff options
context:
space:
mode:
authordas <das>2009-04-10 16:20:00 (GMT)
committerdas <das>2009-04-10 16:20:00 (GMT)
commite86036a308d9a8fd9ad321e73fc66f989543ddda (patch)
treedef403edacbffa039aa980320298ab85388d3b25 /generic/tkPointer.c
parent345d2e6a35e3e40d254932e47b52c15dd702d45f (diff)
downloadtk-e86036a308d9a8fd9ad321e73fc66f989543ddda.zip
tk-e86036a308d9a8fd9ad321e73fc66f989543ddda.tar.gz
tk-e86036a308d9a8fd9ad321e73fc66f989543ddda.tar.bz2
* generic/tkPointer.c (Tk_UpdatePointer): use all 5 buttons.
Diffstat (limited to 'generic/tkPointer.c')
-rw-r--r--generic/tkPointer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkPointer.c b/generic/tkPointer.c
index 99b61b7..8a41775 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.11 2008/06/12 17:08:59 das Exp $
+ * RCS: @(#) $Id: tkPointer.c,v 1.12 2009/04/10 16:20:00 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) {