summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordas <das@noemail.net>2009-04-10 16:20:11 (GMT)
committerdas <das@noemail.net>2009-04-10 16:20:11 (GMT)
commita7461876b91271d27552033de09760540ef313c6 (patch)
tree48126bfc86f8b99d710bee67b8f949803b016c3b /generic
parentb592c38605161b7cc2155e0a97abe76caa84e2a2 (diff)
downloadtk-a7461876b91271d27552033de09760540ef313c6.zip
tk-a7461876b91271d27552033de09760540ef313c6.tar.gz
tk-a7461876b91271d27552033de09760540ef313c6.tar.bz2
* generic/tkPointer.c (Tk_UpdatePointer): use all 5 buttons.
FossilOrigin-Name: c36f72aee2243e7b657f75aaff7609622969eb35
Diffstat (limited to 'generic')
-rw-r--r--generic/tkPointer.c4
1 files changed, 2 insertions, 2 deletions
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) {