diff options
author | Dmitry Petrov <dpetroff@gmail.com> | 2021-12-13 23:22:28 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-01-20 10:37:52 +0100 |
commit | 166221373755503134716317a51762a5fbedf3a7 (patch) | |
tree | c7e5c2396144611c22dad9d749016b4151d1b0c3 /Userland/Services/WebContent/ClientConnection.cpp | |
parent | d61cc47055e27b007005ac2355728ce54cbbb50b (diff) | |
download | serenity-166221373755503134716317a51762a5fbedf3a7.zip |
Userland: Add horizontal mouse scroll support
Diffstat (limited to 'Userland/Services/WebContent/ClientConnection.cpp')
-rw-r--r-- | Userland/Services/WebContent/ClientConnection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/WebContent/ClientConnection.cpp b/Userland/Services/WebContent/ClientConnection.cpp index facf01ca00..f7221caab9 100644 --- a/Userland/Services/WebContent/ClientConnection.cpp +++ b/Userland/Services/WebContent/ClientConnection.cpp @@ -154,9 +154,9 @@ void ClientConnection::mouse_up(const Gfx::IntPoint& position, unsigned int butt page().handle_mouseup(position, button, modifiers); } -void ClientConnection::mouse_wheel(const Gfx::IntPoint& position, unsigned int button, [[maybe_unused]] unsigned int buttons, unsigned int modifiers, i32 wheel_delta) +void ClientConnection::mouse_wheel(const Gfx::IntPoint& position, unsigned int button, [[maybe_unused]] unsigned int buttons, unsigned int modifiers, i32 wheel_delta_x, i32 wheel_delta_y) { - page().handle_mousewheel(position, button, modifiers, wheel_delta); + page().handle_mousewheel(position, button, modifiers, wheel_delta_x, wheel_delta_y); } void ClientConnection::key_down(i32 key, unsigned int modifiers, u32 code_point) |