diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-05-03 13:55:29 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-03 21:14:40 +0200 |
commit | eb21aa65d131f6fb382ad80d672e5a7ffb1a21e1 (patch) | |
tree | 674d52f397d8318941e97426b5100c18c8ac885f /Userland/Applications/SpaceAnalyzer | |
parent | 5bb79ea0a79322d944368825ec617ccfb8912b81 (diff) | |
download | serenity-eb21aa65d131f6fb382ad80d672e5a7ffb1a21e1.zip |
Userland: Make IPC results with one return value available directly
This changes client methods so that they return the IPC response's
return value directly - instead of the response struct - for IPC
methods which only have a single return value.
Diffstat (limited to 'Userland/Applications/SpaceAnalyzer')
-rw-r--r-- | Userland/Applications/SpaceAnalyzer/TreeMapWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/SpaceAnalyzer/TreeMapWidget.cpp b/Userland/Applications/SpaceAnalyzer/TreeMapWidget.cpp index f9cb3bea81..2bc94a01e0 100644 --- a/Userland/Applications/SpaceAnalyzer/TreeMapWidget.cpp +++ b/Userland/Applications/SpaceAnalyzer/TreeMapWidget.cpp @@ -316,7 +316,7 @@ void TreeMapWidget::mousewheel_event(GUI::MouseEvent& event) { int delta = event.wheel_delta(); // FIXME: The wheel_delta is premultiplied in the window server, we actually want a raw value here. - int step_size = GUI::WindowServerConnection::the().get_scroll_step_size().step_size(); + int step_size = GUI::WindowServerConnection::the().get_scroll_step_size(); if (delta > 0) { size_t step_back = delta / step_size; if (step_back > m_viewpoint) |