summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvas.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-25 16:07:02 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-25 16:07:02 (GMT)
commitfda72faf1d67dd4016bf6842a6448943bd324707 (patch)
treeb548a211106c683957d4631e5229f7fb1e3625b4 /generic/tkCanvas.h
parent5c07a1409bb742e9fe41e7e523146ce75d71580a (diff)
parent02adf45068f997e84707a3479e629b74b5409671 (diff)
downloadtk-fda72faf1d67dd4016bf6842a6448943bd324707.zip
tk-fda72faf1d67dd4016bf6842a6448943bd324707.tar.gz
tk-fda72faf1d67dd4016bf6842a6448943bd324707.tar.bz2
Experiment: Handle scaling fractors for the ScrollWheel sensibly. Trying "40" as a good general scale factor (compared to "50" on X11 and "120" on Win32 and "1" on Aqua)
Diffstat (limited to 'generic/tkCanvas.h')
-rw-r--r--generic/tkCanvas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkCanvas.h b/generic/tkCanvas.h
index e2221a8..fc0ac7a 100644
--- a/generic/tkCanvas.h
+++ b/generic/tkCanvas.h
@@ -147,7 +147,7 @@ typedef struct TkCanvas {
* currentItem is based. Must be saved so that
* if the currentItem is deleted, can pick
* another. */
- int state; /* Last known modifier state. Used to defer
+ unsigned int state; /* Last known modifier state. Used to defer
* picking a new current object while buttons
* are down. */