diff options
author | Andreas Kling <kling@serenityos.org> | 2021-07-04 22:26:24 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-04 23:15:16 +0200 |
commit | 782a5c88ce895da644444c98be88e03e84526bbf (patch) | |
tree | 758b92bb3f10d4c04d8ee2049855db0c03e9577a /Userland/Applications/MouseSettings | |
parent | 70c6090fef96cb7d2d65fe8b1139a1ce4768c000 (diff) | |
download | serenity-782a5c88ce895da644444c98be88e03e84526bbf.zip |
WindowServer: Make most remaining WindowServer IPC calls async
The only remaining sync call from client to server is now the call
that switches a window's backing store. That one actually relies on
the synchronization to hand over ownership of the backing stores,
so it has to stay synchronous for now.
Diffstat (limited to 'Userland/Applications/MouseSettings')
-rw-r--r-- | Userland/Applications/MouseSettings/MouseSettingsWindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Applications/MouseSettings/MouseSettingsWindow.cpp b/Userland/Applications/MouseSettings/MouseSettingsWindow.cpp index 25fc6bf2db..3c6f923fa1 100644 --- a/Userland/Applications/MouseSettings/MouseSettingsWindow.cpp +++ b/Userland/Applications/MouseSettings/MouseSettingsWindow.cpp @@ -24,9 +24,9 @@ constexpr int double_click_speed_default = 250; void MouseSettingsWindow::update_window_server() { const float factor = m_speed_slider->value() / speed_slider_scale; - GUI::WindowServerConnection::the().set_mouse_acceleration(factor); - GUI::WindowServerConnection::the().set_scroll_step_size(m_scroll_length_spinbox->value()); - GUI::WindowServerConnection::the().set_double_click_speed(m_double_click_speed_slider->value()); + GUI::WindowServerConnection::the().async_set_mouse_acceleration(factor); + GUI::WindowServerConnection::the().async_set_scroll_step_size(m_scroll_length_spinbox->value()); + GUI::WindowServerConnection::the().async_set_double_click_speed(m_double_click_speed_slider->value()); } void MouseSettingsWindow::reset_default_values() |