diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-08-13 17:20:07 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-08-13 17:44:00 +0200 |
| commit | 847901623a55d69fc8c0c4b7770ec33698402e3a (patch) | |
| tree | 5d594b2b6041984fb7cd0d90a606d049f0276896 /makeinclude.in | |
| parent | 8c5c7aa7f43ac3ccbcee3c56629022a9643e2ab9 (diff) | |
Handle shift + mousewheel event on Windows (STR 3521)
Pressing the shift key while using the mousewheel changes
horizontal to vertical scrolling and vice versa. This allows users
with a standard mouse with only one scrollwheel to use it for both
scrolling directions.
Note: other mice that have either two buttons or a scroll ball can
generate both horizontal and vertical scrolling in one action. This
commit does not affect such behavior.
This patch is different than the one in file 'scroll.patch' (STR 3521).
It takes care of distinct mousewheel delta calculation for vertical
and horizontal mousewheels and avoids the "fallthrough" case.
Note: macOS takes care of this, there's no special handling required.
To do: the Wayland platform still needs to be updated.
Diffstat (limited to 'makeinclude.in')
0 files changed, 0 insertions, 0 deletions
