diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-07-25 16:07:02 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-07-25 16:07:02 (GMT) |
commit | fda72faf1d67dd4016bf6842a6448943bd324707 (patch) | |
tree | b548a211106c683957d4631e5229f7fb1e3625b4 /generic/tkCanvas.h | |
parent | 5c07a1409bb742e9fe41e7e523146ce75d71580a (diff) | |
parent | 02adf45068f997e84707a3479e629b74b5409671 (diff) | |
download | tk-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.h | 2 |
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. */ |