diff options
author | dgp <dgp@users.sourceforge.net> | 2024-07-31 17:58:28 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2024-07-31 17:58:28 (GMT) |
commit | 849e8743a0a26f736f3179888535404b44c47181 (patch) | |
tree | 78f35d81fad7deefcd7684bad459d198778c0d66 /win/tkWinX.c | |
parent | 45d3973d64de534a885940f93f052d967a0d0b67 (diff) | |
parent | e626189b9df61e69de84156fc55368c0e0f35e8a (diff) | |
download | tk-core-9-0-b3.zip tk-core-9-0-b3.tar.gz tk-core-9-0-b3.tar.bz2 |
merge trunkcore-9-0-b3
Diffstat (limited to 'win/tkWinX.c')
-rw-r--r-- | win/tkWinX.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c index 656e142..c61601b 100644 --- a/win/tkWinX.c +++ b/win/tkWinX.c @@ -1165,7 +1165,7 @@ GenerateXEvent( event.key.nbytes = 0; event.x.xkey.state = state; event.x.xany.serial = scrollCounter++; - event.x.xkey.keycode = (unsigned int) delta; + event.x.xkey.keycode = (unsigned int) (delta & 0xffff); } else { event.x.type = MouseWheelEvent; event.x.xany.send_event = -1; |